com.hp.hpl.guess.layout
Class Sugiyama2

java.lang.Object
  extended bycom.hp.hpl.guess.layout.Sugiyama2

public class Sugiyama2
extends Object


Constructor Summary
Sugiyama2(Graph view)
           
 
Method Summary
 void layout()
           
 void layout(List levels, boolean vertical)
           
 void layoutBends(List nodes)
           
 void layoutLevel(List nodes, List children, double major)
           
 void setNodeLevels(List levels)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sugiyama2

public Sugiyama2(Graph view)
Method Detail

setNodeLevels

public void setNodeLevels(List levels)
Parameters:
levels - This is a List of Lists of Nodes, each list shows the nodes that are on the same level. It is assumed that the levels will be in order.

layout

public void layout(List levels,
                   boolean vertical)

layout

public void layout()

layoutBends

public void layoutBends(List nodes)

layoutLevel

public void layoutLevel(List nodes,
                        List children,
                        double major)