Provides options for controlling the routing of edges within a CircularLayout.
Remarks
INTERIOR routes all edges inside the circle or on its border as straight lines. This is the default behavior where no edges are routed on the exterior of the circle.
AUTOMATIC determines the routing of edges automatically for optimal readability. Internal edges are straight lines, while external edges are curved arcs to minimize crossings.
EXTERIOR routes all edges around the exterior of the circle, except those connecting neighboring nodes. Exterior edges follow a curved path.
To manually select which edges should be routed externally, use the exteriorEdges property. All other edges will be routed internally.
Type Details
- yFiles module
- algorithms
Constants
Automatically determines internal and external routing of edges for optimal layout readability.
Remarks
Internal edges are straight lines, while external edges are curved arcs.
The algorithm aims to minimize edge crossings and to avoid crossings between exterior edges.
See Also
Sample Graphs
Routes all edges around the exterior of the circle, except those connecting neighboring nodes.
Remarks
See Also
Sample Graphs
Routes all edges inside the circle or on its border as simple straight lines.
Remarks
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 - CircularLayoutEdgeRoutingPolicy
- The value to convert to an enum constant.
Returns
- ↪CircularLayoutEdgeRoutingPolicy
- 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 - CircularLayoutEdgeRoutingPolicy
- 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.