Search
OrthogonalRouter Class
Remarks See Also
 






Implements an orthogonal link routing algorithm.

Namespace: MindFusion.Diagramming.Layout
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public class OrthogonalRouter : Layout

Visual Basic  Copy Code

Public Class OrthogonalRouter
    Inherits Layout

 Remarks

OrthogonalRouter is a secondary layout algorithm that can be used to arrange links after an initial node arrangement has already been applied. The orthogonal layout is useful when there are much more links than nodes in a graph. The algorithm strives to achieve the following criteria, while preserving as much of the initial node configuration as possible.

  • links must not overlap;
  • only vertical and horizontal routing lines are used;
  • graph routing is performed with respect to the specified main layout direction;
  • links crossings are minimized;
  • bends are minimized;

To arrange a diagram, create an OrthogonalRouter instance, set its properties and call the Arrange method.

 Inheritance Hierarchy

System.Object
    MindFusion.Diagramming.Layout.Layout
        MindFusion.Diagramming.Layout.OrthogonalRouter

 See Also