Type Details
- yfiles module
- layout-core
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.tree.RoutingStyle
See Also
DefaultNodePlacer.DefaultNodePlacer(ChildPlacement,RootAlignment,TreeLayoutEdgeRoutingStyle,number,number,number,number,number,number),
DefaultNodePlacer.routingStyle
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
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.
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.
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
Edges may overlap with nodes when using this style.
Static Methods
Converts the argument to TreeLayoutEdgeRoutingStyle.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - TreeLayoutEdgeRoutingStyle
- The value to convert to TreeLayoutEdgeRoutingStyle.
Returns
- ↪TreeLayoutEdgeRoutingStyle
- Either
value
if it is already a TreeLayoutEdgeRoutingStyle or an appropriate converted value.