DroidDiagram Programmer's Guide
HierarchicalLayout Class
Remarks See Also
 






Performs hierarchical layout on simple, connected, level-planar graphs.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public class HierarchicalLayout extends AbstractLayout

 Remarks

HierarchicalLayout places nodes on user-defined levels, such that if the source graph is level-planar, all links are guaranteed to have a single segment and will not intersect. A graph is considered level-planar if it is possible to draw it without link intersections when its nodes are positioned on predefined levels. The layout method requires that for each node LayoutTraits contains a HierarchicalLayoutTraits.Level entry specifying the level, and no two connected nodes must be on the same level.

 Inheritance Hierarchy

java.lang.Object
    com.mindfusion.diagramming.AbstractLayout
        com.mindfusion.diagramming.HierarchicalLayout

 See Also

HierarchicalLayout Members
com.mindfusion.diagramming Namespace