E

RouteCorrectionPolicy

Specifies how the PortPlacementStage corrects the edge paths after moving the ports to the locations specified by LayoutPortCandidates or NodePortCandidatess.

Members

No filters for this type

Constants

The edges are rerouted orthogonally within a specific area around their source/target nodes.
Outside of this area, the edges keep their routes.
For edges that connect a group node with one of its descendants, the local routing is not supported. For these edges, the ports are simply moved to the desired location.
static

See Also

Developer's Guide
Only the ports are moved, which results in a straight line segment between the first or last bend (if any) and the new ports.

Ports are allowed to be located inside the bounds of the node they connect to if the side where the edge crosses the bounds still fulfills the side specified by the LayoutPortCandidates.

This policy does not introduce any new bends, if this is not required to satisfy constraints imposed by fixed port candidates.

static

See Also

Developer's Guide
Only the ports are moved, the same way as for MOVE_PORTS and additionally corrects the ports so that they are always placed on the node border even when they would visually already exit/enter the node on the correct side with respect to their LayoutPortCandidates.
This policy does not introduce any new bends. Initially straight edges remain straight.
static

See Also

Developer's Guide

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: RouteCorrectionPolicy
The value to convert to an enum constant.

Return Value

RouteCorrectionPolicy
The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
static

Parameters

value: RouteCorrectionPolicy
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.