Routing styles for edges routed by the HierarchicLayout.
Type Details
- yfiles module
- layout-hierarchic
- yfiles-umd modules
- layout-familytree, layout-hierarchic, layout-radial, layout
- Legacy UMD name
- yfiles.hierarchic.EdgeRoutingStyle
See Also
Constants
A routing style constant specifying that the edges should be curved.
Remarks
Curved edges are constructed using cubic bezier splines. As for other routing styles, overlaps with other elements are avoided. If there is very little space for a smooth curve, it can happen that the resulting path is polyline or almost polyline with little curving. To reserve more space for curved edges, one can increase values of settings that influence the distances between graph elements, e.g., minimumDistance.
When integrated edge labeling is enabled, for edge labels a straight, non-curved segment where the label is placed will be inserted. All the settings of the PreferredPlacementDescriptor are supported. Similarly, for the minimum first segment length and the minimum last segment length, a straight edge segment is created to fulfill the constraints.
Sample Graphs
Static Methods
Converts the argument to HierarchicLayoutEdgeRoutingStyle.
Parameters
A map of options to pass to the method.
- value - HierarchicLayoutEdgeRoutingStyle
- The value to convert to HierarchicLayoutEdgeRoutingStyle.
Returns
- ↪HierarchicLayoutEdgeRoutingStyle
- Either
value
if it is already a HierarchicLayoutEdgeRoutingStyle or an appropriate converted value.