E

CircularLayoutPartitioningPolicy

Specifies the partitioning policy for the CircularLayout.

Remarks

The CircularLayoutPartitioningPolicy enum defines how nodes within the input graph are partitioned by the CircularLayout. Each policy dictates a different method of assigning nodes to partitions where each partition will then be arranged depending on the style.

If the predefined policies do not suit specific needs, custom partitions can be defined using the partitions property.

Members

No filters for this type

Constants

Nodes within each biconnected component of the input graph are treated as separate partitions.
With this policy, nodes that belong to multiple biconnected components will be assigned to the component that appears to be the most suitable. This ensures that each biconnected component is compactly arranged.
static

Sample Graphs

ShownSetting: Layout style BCC_COMPACT

See Also

Developer's Guide
API
partitioningPolicy
Nodes within each biconnected component of the input graph are treated as separate partitions, with nodes that are part of multiple components forming isolated partitions.
If a node is part of multiple biconnected components, it will be placed in an isolated partition. This isolated partition will be positioned between all the biconnected component cycles to which the node belongs, ensuring clarity and separation in the layout.
static

Sample Graphs

ShownSetting: Layout style BCC_ISOLATED

See Also

Developer's Guide
API
partitioningPolicy
All nodes of the input graph are placed on or inside a single cycle.
This policy arranges all nodes in the graph to lie on or within the interior of a single cycle. It is useful for ensuring a simple, single-loop structure for the graph layout.
static

Sample Graphs

ShownSetting: Layout style SINGLE_CYCLE

See Also

Developer's Guide
API
partitioningPolicy

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

Return Value

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

Parameters

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