documentationfor yFiles for HTML 2.6

Usages of RootAlignment

Properties

rootAlignmentin DefaultNodePlacerGets or sets how the root node is aligned with its children and their SubtreeShapes.

Method Return Values

from (RootAlignment)in RootAlignmentConverts the argument to RootAlignment.

Method Parameters

DefaultNodePlacer ()in DefaultNodePlacerCreates a new DefaultNodePlacer instance with default settings.
DefaultNodePlacer (ChildPlacement, RootAlignment, number, number)in DefaultNodePlacerCreates a new DefaultNodePlacer instance with customized child placement, root alignment, vertical and horizontal distance.
DefaultNodePlacer (ChildPlacement, RootAlignment, TreeLayoutEdgeRoutingStyle, number?, number?, number?, number?, number?, number?)in DefaultNodePlacerCreates a new DefaultNodePlacer instance with custom settings.
from (RootAlignment)in RootAlignmentConverts the argument to RootAlignment.