Specifies the policies for sizing group nodes within a graph layout.
Members
No filters for this type
Constants
The size of group nodes is determined individually for each group so as to maximize the compactness of the drawing without producing overlaps. This policy places less emphasis on maintaining the group sizes in the remaining graph when collapsing subtrees than other policies.
static
Sample Graphs
ShownSetting: Adaptive radial group layout drawing without collapsed subtrees
See Also
Developer's Guide
API
- groupSizePolicy
The size of group nodes is determined individually for each group so as to maximize the compactness of the drawing without producing overlaps. With this policy, some emphasis is placed on maintaining the group sizes in the remaining graph when collapsing subtrees.
static
Sample Graphs
ShownSetting: Compact radial group layout drawing without collapsed subtrees
See Also
Developer's Guide
API
- groupSizePolicy
The size of group nodes is determined individually for each group so as to produce the most compact drawing while reserving enough space to collapse any subtree without producing overlaps or necessitating a change in the layout of the remaining graph.
static
Sample Graphs
ShownSetting: Stable radial group layout drawing without collapsed subtrees
See Also
Developer's Guide
API
- groupSizePolicy
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: GroupSizePolicy
- The value to convert to an enum constant.
Return Value
- GroupSizePolicy
- 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: GroupSizePolicy
- 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.