Uses of Class
org.cytoscape.view.layout.LayoutNode
-
Packages that use LayoutNode Package Description org.cytoscape.view.layout This package provides access to the available layout algorithms, as well as provides abstract layout classes and layout information containers for the convenience of implementing other layout algorithms. -
-
Uses of LayoutNode in org.cytoscape.view.layout
Methods in org.cytoscape.view.layout that return LayoutNode Modifier and Type Method Description LayoutNodeLayoutEdge. getSource()Return the source of this edgeLayoutNodeLayoutEdge. getTarget()Return the target of this edgeMethods in org.cytoscape.view.layout that return types with arguments of type LayoutNode Modifier and Type Method Description List<LayoutNode>LayoutNode. getNeighbors()Convenience function to return the list of neighbors (connected nodes) of this node.List<LayoutNode>LayoutPartition. getNodeList()Return the list of LayoutNodes within this partition.Iterator<LayoutNode>LayoutPartition. nodeIterator()Return an iterator over all of the LayoutNodes in this partitionMethods in org.cytoscape.view.layout with parameters of type LayoutNode Modifier and Type Method Description protected voidLayoutPartition. addEdge(CyEdge edge, LayoutNode v1, LayoutNode v2, CyRow row)Add an edge to this partition assuming that the source and target nodes are known.voidLayoutNode. addNeighbor(LayoutNode v)Convenience function to keep track of neighbors of this node.voidLayoutEdge. addNodes(LayoutNode v1, LayoutNode v2)Set the nodes associated with this edge.intLayoutNode. compareTo(LayoutNode nodeView)doubleLayoutNode. distance(LayoutNode otherNode)Return the Euclidean distance (in 2D) between this node and another node.doubleLayoutNode. distance3D(LayoutNode otherNode)Return the Euclidean distance (in 3D) between this node and another node.voidLayoutPartition. moveNodeToLocation(LayoutNode node)Move the node to its current X and Y values.voidLayoutPartition. moveNodeToLocation3D(LayoutNode node)Move the node to its current X, Y and Z values.Constructors in org.cytoscape.view.layout with parameters of type LayoutNode Constructor Description LayoutEdge(CyEdge edge, LayoutNode v1, LayoutNode v2, CyRow row)Create a LayoutEdge that will contains information about this edge, and that record that it connects LayoutNodes v1 and v2.
-