Search
LayeredLayout.Orientation Property
See Also
 





Gets or sets the overall orientation of the arranged diagram.

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

 Syntax

C#  Copy Code

public Orientation Orientation { get; set; }

Visual Basic  Copy Code

Public Property Orientation As Orientation

 Property Value

A member of the Orientation enumeration. The default is Vertical.

 Remarks

Specify Orientation.Vertical to have links flow in vertical direction and Orientation.Horizontal to have links flow in horizontal direction. The orientation of the resulting layers is opposite to that of the links. Thus, if the link tends to go in a vertical direction, the nodes are distributed in horizontal layers.

 See Also