Performs hierarchical layout on simple, connected, level-planar graphs.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
Java
![]() |
---|
public class HierarchicalLayout extends AbstractLayout |
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.
java.lang.Object
com.mindfusion.diagramming.AbstractLayout
com.mindfusion.diagramming.HierarchicalLayout