Enum TreeAlignment
This enumeration specifies how to position a parent TreeVertex relative to its children, or how to align children in a bus. Used for Alignment or AlternateAlignment.
Namespace: Northwoods.Go.Layouts
Assembly: Northwoods.GoDiagram.Avalonia.TreeLayout.dll
Syntax
public enum TreeAlignment
Fields
Name | Description |
---|---|
BottomRightBus | The children are positioned in a bus, only on the bottom or right side of the parent. |
Bus | The children are positioned in a bus on both sides of an "aisle" where the links to them go, with the last odd child (if any) placed at the end of the aisle in the middle. |
BusBranching | Like Bus with the children arranged on both sides of an "aisle" with any last odd child placed at the end of the aisle, but the children get an Angle that depends on which side of the aisle they were placed. |
CenterChildren | The parent is centered at the middle of the range of its immediate child nodes. |
CenterSubtrees | The parent is centered at the middle of the range of its child subtrees. |
End | The parent is positioned near the last of its children. |
Start | The parent is positioned near the first of its children. |
TopLeftBus | The children are positioned in a bus, only on the top or left side of the parent. |