Specifies the policies for sizing group nodes within a graph layout.
Type Details
- yFiles module
- algorithms
See Also
Constants
Policy for sizing group nodes individually that optimizes for compact drawings.
Remarks
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.
See Also
Sample Graphs
Policy for sizing group nodes individually that optimizes for compact drawings.
Remarks
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.
See Also
Sample Graphs
Policy for sizing group nodes individually that optimizes for compact drawings which can be collapsed at any group without producing overlaps.
Remarks
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.
See Also
Sample Graphs
Static Methods
Converts the given argument to an enum constant of this enum type.
Remarks
Most notably, this method can convert an enum constant's name into the enum constant itself.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - GroupSizePolicy
- The value to convert to an enum constant.
Returns
- ↪GroupSizePolicy
- The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - GroupSizePolicy
- 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.