com.mindfusion.diagramming.jlayout
Class LayerDistributor

java.lang.Object
  extended by com.mindfusion.diagramming.jlayout.LayerDistributor

public final class LayerDistributor
extends java.lang.Object


Constructor Summary
LayerDistributor()
           
 
Method Summary
static java.util.HashMap<com.mindfusion.diagramming.jlayout.GraphNode,java.lang.Integer> distribute(com.mindfusion.diagramming.jlayout.AGraph graph, java.util.HashMap<Node,java.lang.Integer> laneMap, ByRef<java.lang.Integer> layerCount)
          Distributes the nodes in the specified graph across layers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayerDistributor

public LayerDistributor()
Method Detail

distribute

public static java.util.HashMap<com.mindfusion.diagramming.jlayout.GraphNode,java.lang.Integer> distribute(com.mindfusion.diagramming.jlayout.AGraph graph,
                                                                                                           java.util.HashMap<Node,java.lang.Integer> laneMap,
                                                                                                           ByRef<java.lang.Integer> layerCount)
Distributes the nodes in the specified graph across layers.