Gets or sets the overall orientation of the arranged diagram.
Namespace: MindFusion.Diagramming.Layout
Assembly: MindFusion.Diagramming.Layout
C# Copy Code |
---|
public Orientation Orientation { get; set; } |
Visual Basic Copy Code |
---|
Public Property Orientation As Orientation |
A member of the Orientation enumeration. The default is Vertical.
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.