Defines routing styles for the SingleLayerSubtreePlacer, which indicates how edge paths are routed, see property edgeRoutingStyle.
Type Details
- yFiles module
- algorithms
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.
Routing style specifier which defines that edge paths are routed orthogonally with just one bend.
Remarks
See Also
Sample Graphs
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.
See Also
Routing style specifier which defines that edge paths are routed with a straight segment to the center of the child nodes.
See Also
Sample Graphs
Routing style constant which defines that edge paths are routed with a straight segment to the connector of the SubtreeShape of the child nodes.
See Also
Sample Graphs
Static Methods
Converts the given argument to an enum constant of this enum type.
Remarks
Parameters
A map of options to pass to the method.
- value - SingleLayerSubtreePlacerRoutingStyle
- The value to convert to an enum constant.
Returns
- ↪SingleLayerSubtreePlacerRoutingStyle
- The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
Parameters
A map of options to pass to the method.
- value - SingleLayerSubtreePlacerRoutingStyle
- The numeric value of an enum constant.
Returns
- ↪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.