Implements a topological ordering.
Namespace: MindFusion.Diagramming.Wpf.Layout
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public class TopologicalLayout : Layout |
Visual Basic Copy Code |
---|
Public Class TopologicalLayout |
If the underlying graph if acyclic, TopologicalLayout arranges the nodes linearly in such a way that each node comes before all destination nodes of its outgoing links. The links are drawn as curves above the chain of nodes, with their height proportional to the distance between the nodes. If the graph is not acyclic, the layout algorithm finds an ordering with a minimal number of back links, and draws the back links below the chain of nodes.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
MindFusion.Diagramming.Wpf.Layout.Layout
MindFusion.Diagramming.Wpf.Layout.TopologicalLayout