E

SingleLayerSubtreePlacerRootAlignment

Defines root alignments for the SingleLayerSubtreePlacer, see property rootAlignment.

Members

No filters for this type

Constants

Alignment specifier which defines that the root node is placed aligned with the center of its subtrees.
static

Sample Graphs

ShownSetting: Root node is center-aligned

See Also

API
rootAlignment
Alignment specifier which defines that the root node is placed aligned with the center of its children.
The root node is placed centered over its direct children. To determine the alignment, only layouts are considered. Node labels are not included although they are also contained in SubtreeShapes.
static

See Also

API
rootAlignment
Alignment specifier which defines that the root node is placed aligned with the center of the ports at its children.
When using ORTHOGONAL as edgeRoutingStyle, this has the effect that the root is also centered with respect to the bus.
static

Sample Graphs

ShownSetting: Root node is center-aligned with respect to the ports at its children

See Also

API
rootAlignment
Alignment specifier which defines that the root node is placed ahead of all its child subtrees.
Depending on the transformation, the root node is placed ahead of the combined bounds of all subtrees without labels.
static

Sample Graphs

ShownSetting: Root node is placed left of its children

See Also

API
rootAlignment
Alignment specifier which defines that the root is placed ahead of all its subtrees, centered on the bus.
Depending on the transformation, the root node is placed ahead of the combined bounds of all subtrees without labels. The bus connects directly at the root node.
If there are LayoutPortCandidates at source, the edge may bend inside the node to connect to the bus.
static

Sample Graphs

ShownSetting: Root node is placed on the bus and left of its children

See Also

API
rootAlignment
Alignment specifier which defines that the root node is placed aligned with its first subtree.
Depending on the transformation, the root node is placed aligned with the bounds of its first subtree.
static

Sample Graphs

ShownSetting: Root node is left-aligned with the leftmost node

See Also

API
rootAlignment
Alignment specifier which defines that the root node is placed at the median of the connection points to its subtrees.
static

Sample Graphs

ShownSetting: Root node is aligned with the median child

See Also

API
rootAlignment
Alignment specifier which defines that the root node is placed aligned with its last subtree.
Depending on the transformation, the root node is placed aligned with the bounds of its last subtree.
static

Sample Graphs

ShownSetting: Root node is right-aligned with the leftmost node

See Also

API
rootAlignment
Alignment specifier which defines that the root is placed after all its subtree.
Depending on the transformation, the root node is placed after the combined bounds of all subtrees without labels.
static

Sample Graphs

ShownSetting: Root node is placed right of its children

See Also

API
rootAlignment
Alignment specifier which defines that the root is placed after all its subtrees, centered on the bus.
Depending on the transformation, the root node is placed after the combined bounds of all subtrees without labels. The bus connects directly at the root node.
If there are LayoutPortCandidates at source, the edge may bend inside the node to connect to the bus.
static

Sample Graphs

ShownSetting: Root node is placed on the bus and right of its children

See Also

API
rootAlignment

Static Methods

Converts the given argument to an enum constant of this enum type.
Most notably, this method can convert an enum constant's name into the enum constant itself.
static

Parameters

value: SingleLayerSubtreePlacerRootAlignment
The value to convert to an enum constant.

Return Value

SingleLayerSubtreePlacerRootAlignment
The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
static

Parameters

value: SingleLayerSubtreePlacerRootAlignment
The numeric value of an enum constant.

Return Value

string
The name of the enum constant.

Throws

Exception ({ name: 'Error' })
If this type is a flags enums, and the provided value doesn't correspond to a single enum constant, or if this enum type contains no constant of the given numeric value.