Specifies the layout style for partitions in a CircularLayout.
Members
No filters for this type
Constants
This style creates a compact disk layout for each partition. Even nodes that connect to different partitions may be placed in the interior of the resulting disk.
static
Sample Graphs
ShownSetting: Partition style COMPACT_DISK
See Also
Developer's Guide
API
- partitionDescriptor, style
This style is very fast, but the results may require a large amount of space.
static
Sample Graphs
ShownSetting: Partition style CYCLE
See Also
Developer's Guide
API
- partitionDescriptor, style
This style places nodes both in the interior and on the border of a circle, arranging them in an organic manner. It leads to a more compact layout. Only nodes with connections to other partitions are guaranteed to lie on the boundary of the resulting disk.
This style may come with a performance penalty.
static
Sample Graphs
ShownSetting: Partition style DISK
See Also
Developer's Guide
API
- partitionDescriptor, style
This style creates an organic circular layout for each partition. Even nodes that connect to different partitions may be placed in the interior of the resulting disk.
This style may come with a performance penalty.
static
Sample Graphs
ShownSetting: Partition style ORGANIC
See Also
Developer's Guide
API
- partitionDescriptor, style
Static Methods
Converts the given argument to an enum constant of this enum type.
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: CircularLayoutPartitionStyle
- The value to convert to an enum constant.
Return Value
- CircularLayoutPartitionStyle
- The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
Returns the name of the given enum constant.
static
Parameters
- value: CircularLayoutPartitionStyle
- 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.