cytoscape.layout
Class LayoutUtils
java.lang.Object
cytoscape.layout.LayoutUtils
- public class LayoutUtils
- extends Object
A class with easy to call static methods for layout purposes.
- Since:
- 2.3
- Author:
- Iliana Avila-Campillo
Method Summary |
static void |
layoutNodesInAStack(CyNetworkView network_view,
Collection nodes,
double x_position,
double y_start_position)
Layouts a collection of nodes in a "stack" (one node on top of the other, vertically) |
LayoutUtils
public LayoutUtils()
layoutNodesInAStack
public static void layoutNodesInAStack(CyNetworkView network_view,
Collection nodes,
double x_position,
double y_start_position)
- Layouts a collection of nodes in a "stack" (one node on top of the other, vertically)
- Parameters:
network_view
- the CyNetworkView that should be modifiednodes
- the nodes whose position will be modifiedx_position
- the x position for the nodesy_start_position
- the y starting position for the stack (where the first node will be positioned, all other nodes below it)