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.
Type Details
- yFiles module
- algorithms
Constants
Nodes within each biconnected component of the input graph are treated as separate partitions.
Remarks
See Also
Sample Graphs
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.
Remarks
See Also
Sample Graphs
All nodes of the input graph are placed on or inside a single cycle.
Remarks
See Also
Sample Graphs
Static Methods
Converts the given argument to an enum constant of this enum type.
Remarks
Parameters
A map of options to pass to the method.
- value - CircularLayoutPartitioningPolicy
- The value to convert to an enum constant.
Returns
- ↪CircularLayoutPartitioningPolicy
- The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
Parameters
A map of options to pass to the method.
- value - CircularLayoutPartitioningPolicy
- The numeric value of an enum constant.
Returns
- ↪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.