Specifies the orientation of the drawing.
Namespace: yWorks.yFiles.Layout.PartialAssembly: yWorks.yFilesWPF.Algorithms (in yWorks.yFilesWPF.Algorithms.dll) Version: 2.2.0.2 (2.2.0.2)
Syntax
| C# |
|---|
public enum LayoutOrientation |
| Visual Basic |
|---|
Public Enumeration LayoutOrientation |
Members
| Member name | Description | ||
|---|---|---|---|
| TopToBottom | 0 | Specifies the orientation of the drawing. This value specifies that the algorithm should try to place partial nodes (subgraph components) such that each predecessor of a node v is placed above v and each successor below v. | |
| BottomToTop | 2 | Specifies the orientation of the drawing. This value specifies that the algorithm should try to place partial nodes (subgraph components) such that each predecessor of a node v is placed below v and each successor above v. | |
| LeftToRight | 1 | Specifies the orientation of the drawing. This value specifies that the algorithm should try to place partial nodes (subgraph components) such that each predecessor of a node v is placed to the left of v and each successor to the right of v. | |
| RightToLeft | 3 | Specifies the orientation of the drawing. This value specifies that the algorithm should try to place partial nodes (subgraph components) such that each predecessor of a node v is placed to the right of v and each successor to the left of v. | |
| AutoDetect | 5 | Specifies the orientation of the drawing. This value specifies that the layout algorithm should detect the orientation automatically. Therefore it analysis the current drawing. | |
| None | -1 | Specifies the orientation of the drawing. |