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.
|
Modifier and Type | Method and Description |
---|---|
LayoutNode |
LayoutEdge.getSource()
Return the source of this edge
|
LayoutNode |
LayoutEdge.getTarget()
Return the target of this edge
|
Modifier and Type | Method and 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 partition
|
Modifier and Type | Method and 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.
|
Constructor and 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.
|
Copyright 2011-2015 Cytoscape Consortium. All rights reserved.