Alignment byte constant used for the rootAlignment property.

Namespace: yWorks.yFiles.Layout.Tree
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.4.0.0

Syntax

C#
public enum RootAlignment
Visual Basic
Public Enumeration RootAlignment

Members

Member nameValueDescription
LeadingOffset0 Alignment byte constant used for the rootAlignment property. This constant places the root ahead of all the child subtrees.
Leading1 Alignment byte constant used for the rootAlignment property. This constant aligns the root with the first of its subtrees.
Center2 Alignment byte constant used for the rootAlignment property. This constant aligns the root at the center of its subtrees.
Median3 Alignment byte constant used for the rootAlignment property. This constant aligns the root at the median of the connection points to its subtrees.
Trailing4 Alignment byte constant used for the rootAlignment property. This constant aligns the root at with the last of its subtrees.
TrailingOffset5 Alignment byte constant used for the rootAlignment property. This constant places the root after all of its subtrees.
TrailingOnBus6 Alignment byte constant used for the rootAlignment property. This constant places the root after all of its subtrees and centered on the bus.

Note: The vertical/horizontal distance between the root node and the subtree shapes depend on the value of parameters verticalDistance/horizontalDistance passed to the Constructor.

LeadingOnBus7 Alignment byte constant used for the rootAlignment property. This constant places the root ahead of all the child subtrees and centered on the bus.

Note: The vertical/horizontal distance between the root node and the subtree shapes depend on the value of parameters verticalDistance/horizontalDistance passed to the Constructor.

See Also