E

CircularLayoutEdgeRoutingPolicy

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.

Members

No filters for this type

Constants

Automatically determines internal and external routing of edges for optimal layout readability.

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.

Edges connecting neighboring nodes on the circle are always straight lines and never become curved exterior edges.
External routing of bundled edges ignores the bundling feature for those edges.
static

Sample Graphs

ShownSetting: Routing policy AUTOMATIC - two edges are routed externally, thus, avoiding the intersection with the two internal edges.

See Also

Developer's Guide
API
edgeRoutingPolicy
Routes all edges around the exterior of the circle, except those connecting neighboring nodes.
Exterior edges follow an arc-like curved path.
static

Sample Graphs

ShownSetting: Edge routing policy EXTERIOR.

See Also

Developer's Guide
API
edgeRoutingPolicy
Routes all edges inside the circle or on its border as simple straight lines.
This is the default routing policy. No edges are routed on the exterior of the circle.
static

Sample Graphs

ShownSetting: Routing policy INTERIOR

See Also

Developer's Guide
API
edgeRoutingPolicy

Static Methods

Converts the given argument to an enum constant of this enum type.
Most notably, this method can convert an enum constant's name into the enum constant itself.
static

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.
static

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.