Performs hierarchical layout on simple, connected, level-planar graphs.
Namespace: MindFusion.Diagramming.Layout
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public class HierarchicalLayout : Layout |
Visual Basic Copy Code |
---|
Public Class HierarchicalLayout |
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.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
MindFusion.Diagramming.Layout.Layout
MindFusion.Diagramming.Layout.HierarchicalLayout