com.mindfusion.diagramming.jlayout
Class HierarchicalLayout

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

public class HierarchicalLayout
extends java.lang.Object

Performs hierarchical layout on simple, connected, level-planar graphs. The hierarchical layout places vertices on predefined levels, such that if the source graph is level-planar it is guaranteed that all edges will have a single segment and will not intersect. A planar graph is considered level-planar if it is still possible to draw it without edge intersections when its vertices are positioned on predefined levels.


Constructor Summary
HierarchicalLayout()
          Initializes a new instance of the HierarchicalLayout class.
 
Method Summary
 boolean arrange(Graph igraph, HierarchicalLayoutInfo info)
          Applies the layout to the specified graph using the specified settings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HierarchicalLayout

public HierarchicalLayout()
Initializes a new instance of the HierarchicalLayout class.

Method Detail

arrange

public boolean arrange(Graph igraph,
                       HierarchicalLayoutInfo info)
Applies the layout to the specified graph using the specified settings.