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