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.
Members
Constants
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.
Sample Graphs
See Also
Developer's Guide
API
- edgeRoutingPolicy
Sample Graphs
See Also
Developer's Guide
API
- edgeRoutingPolicy
Sample Graphs
See Also
Developer's Guide
API
- edgeRoutingPolicy
Static Methods
Converts the given argument to an enum constant of this enum type.
Parameters
- value: CircularLayoutEdgeRoutingPolicy
- The value to convert to an enum constant.
Return Value
- CircularLayoutEdgeRoutingPolicy
- The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
Parameters
- value: CircularLayoutEdgeRoutingPolicy
- 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.