E

RadialLayeringStrategy

Defines the various strategies for assigning layers or circles in a RadialLayout.

Remarks

To define a custom, user-defined layer or circle assignment, utilize the property layerIds.

Members

No filters for this type

Constants

Uses breadth-first search (BFS) to determine a layering for the graph.
All edges will span at most one layer in the resulting drawing. Edges between nodes that belong to the same layer are possible.
static

Sample Graphs

ShownSetting: The center node is marked

See Also

Developer's Guide
API
layeringStrategy
Uses a dendrogram layering strategy.

Leaf nodes in tree graphs or nodes without neighbors further away from the center in general graphs are placed on the outermost circle. Nodes on inner circles are moved as far away from the center as possible but are placed before their neighbors on the outer circles.

Dendrogram layering is recommended for tree graphs. Parallel edges and same-layer edges are supported rudimentary.

static

Sample Graphs

ShownSetting: The center node is marked

See Also

Developer's Guide
API
layeringStrategy
Uses an optimal hierarchical layering strategy to determine the layer assignment.
The layer distance of an edge is the absolute difference between the layer numbers of its source and target nodes. Layer assignment will be done such that the overall sum of the layer distances of all edges in the layout is minimal.
static

Sample Graphs

ShownSetting: The center node is marked

See Also

Developer's Guide
API
layeringStrategy

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

Return Value

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

Parameters

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