Uses of Class
org.cytoscape.view.layout.LayoutNode
Package
Description
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
Modifier and TypeMethodDescriptionLayoutEdge.getSource()
Return the source of this edgeLayoutEdge.getTarget()
Return the target of this edgeModifier and TypeMethodDescriptionLayoutNode.getNeighbors()
Convenience function to return the list of neighbors (connected nodes) of this node.LayoutPartition.getNodeList()
Return the list of LayoutNodes within this partition.LayoutPartition.nodeIterator()
Return an iterator over all of the LayoutNodes in this partitionModifier and TypeMethodDescriptionprotected void
LayoutPartition.addEdge
(CyEdge edge, LayoutNode v1, LayoutNode v2, CyRow row) Add an edge to this partition assuming that the source and target nodes are known.void
LayoutNode.addNeighbor
(LayoutNode v) Convenience function to keep track of neighbors of this node.void
LayoutEdge.addNodes
(LayoutNode v1, LayoutNode v2) Set the nodes associated with this edge.int
LayoutNode.compareTo
(LayoutNode nodeView) double
LayoutNode.distance
(LayoutNode otherNode) Return the Euclidean distance (in 2D) between this node and another node.double
LayoutNode.distance3D
(LayoutNode otherNode) Return the Euclidean distance (in 3D) between this node and another node.void
LayoutPartition.moveNodeToLocation
(LayoutNode node) Move the node to its current X and Y values.void
LayoutPartition.moveNodeToLocation3D
(LayoutNode node) Move the node to its current X, Y and Z values.ModifierConstructorDescriptionLayoutEdge
(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.