Implements a topological ordering.
Namespace: MindFusion.Diagramming.Layout
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public class TopologicalLayout : Layout |
Visual Basic Copy Code |
---|
Public Class TopologicalLayout |
The algorithm arranges nodes in a row or a column (depending on the value of the Orientation property) in such a way that there are as fewer back links as possible. The links connecting nonadjacent nodes are rendered as arcs. The links connecting adjacent nodes are rendered either as arcs or as straight lines, depending on the BendAdjacentLinks property. The amplitude of the link arcs is proportional to the distance between the connected nodes.
All forward links are rendered at one side of the nodes and all back links are rendered at the opposite side. Thus, all bent links follow the same rotation direction.
System.Object
MindFusion.Diagramming.Layout.Layout
MindFusion.Diagramming.Layout.TopologicalLayout