E

SingleLayerSubtreePlacerRoutingStyle

Defines routing styles for the SingleLayerSubtreePlacer, which indicates how edge paths are routed, see property edgeRoutingStyle.

Members

No filters for this type

Constants

Routing style specifier which defines that edge paths are routed orthogonally with the bends located in the channel between the root node and the child nodes.
static

Sample Graphs

ShownSetting: Edges are routed orthogonally between the root node and its children

See Also

API
edgeRoutingStyle
Routing style specifier which defines that edge paths are routed orthogonally with just one bend.
Edges will leave the root node at its sides and bend exactly above the according child node. If the child node is placed directly below the root node, the edge will bend inside of the root node and leave it at the bottom.
static

Sample Graphs

ShownSetting: Edges are orthogonally routed with just one bend

See Also

API
edgeRoutingStyle
Routing style specifier which defines that edge paths are routed as polylines with the bends located in the channel between the root node and the child nodes.
The slope of the polyline segments depends on the minimumSlope value.
static

See Also

API
edgeRoutingStyle
Routing style specifier which defines that edge paths are routed with a straight segment to the center of the child nodes.
Edges may overlap with nodes when using this style.
static

Sample Graphs

ShownSetting: Edge routes are straight

See Also

API
edgeRoutingStyle
Routing style constant which defines that edge paths are routed with a straight segment to the connector of the SubtreeShape of the child nodes.
Note that if edge labels are considered, the labels are placed in the subtree shape and the connector is moved accordingly. Hence, the main difference to STRAIGHT_LINE is that the edge labels are placed on a vertical segment.
Edges may overlap with nodes when using this style.
static

Sample Graphs

ShownSetting: Edges connect straight to the connector of the SubtreeShape

See Also

API
edgeRoutingStyle

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: SingleLayerSubtreePlacerRoutingStyle
The value to convert to an enum constant.

Return Value

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

Parameters

value: SingleLayerSubtreePlacerRoutingStyle
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.