Cytoscape 2.3.1 (c) 2004 ISB, MSKCC, UCSD

cytoscape.layout
Class LayoutUtils

java.lang.Object
  extended bycytoscape.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

Constructor Summary
LayoutUtils()
           
 
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)
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutUtils

public LayoutUtils()
Method Detail

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 modified
nodes - the nodes whose position will be modified
x_position - the x position for the nodes
y_start_position - the y starting position for the stack (where the first node will be positioned, all other nodes below it)

www.cytoscape.org