Uses of Class
org.cytoscape.view.layout.LayoutNode
Packages that use 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
Methods in org.cytoscape.view.layout that return LayoutNodeModifier and TypeMethodDescriptionLayoutEdge.getSource()Return the source of this edgeLayoutEdge.getTarget()Return the target of this edgeMethods in org.cytoscape.view.layout that return types with arguments of type LayoutNodeModifier 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 partitionMethods in org.cytoscape.view.layout with parameters of type LayoutNodeModifier and TypeMethodDescriptionprotected 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 LayoutNodeModifierConstructorDescriptionLayoutEdge(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.