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 LayoutNode
LayoutEdge. getSource()
Return the source of this edgeLayoutNode
LayoutEdge. 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 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.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.
-