Implements a topological ordering.
Namespace: MindFusion.Diagramming.Layout
Assembly: MindFusion.Diagramming.Silverlight
C#
![]() |
---|
public class TopologicalLayout : Layout |
Visual Basic
![]() |
---|
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
MindFusion.Diagramming.Layout.Layout
MindFusion.Diagramming.Layout.TopologicalLayout