Enum constants that specify how group nodes are handled by the OrganicLayout.
Type Details
- yFiles module
- algorithms
Constants
A policy for placing the group nodes and their content with respect to the original bounds of the group node.
Remarks
The bounds of the group nodes are treated as fixed and cannot be exceeded by the content of the group nodes. Note that this does not only apply to the groups' size but also to the exact location.
See Also
The substructure detection is not applied to the content of groups with fixed bounds.
If property nodeLabelPlacement is set to CONSIDER, property allowNodeOverlaps is disabled or if there are node margins, the bounds' restriction may be violated because the algorithm has to adjust the graph elements such that there are no overlaps. The bounds' restrictions may also break when edgeOrientations or alignment constraints require a larger drawing space than the one available within the group bounds.
A policy for placing group nodes with fixed content.
Remarks
Although these particular group nodes can move like all other ordinary group nodes, their content remains fixed relative to the position of the group node.
See Also
This implicitly fixes all descendants of the group node.
If property nodeLabelPlacement is set to CONSIDER, property allowNodeOverlaps is disabled or if there are node margins, the bounds restriction may be violated because the algorithm has to adjust the graph elements such that there are no overlaps.
A policy for placing and resizing the group nodes and their content by the layout algorithm.
Remarks
The size of the group is freely adjusted to the space that is needed by the placement of its contained nodes.
See Also
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 - GroupNodeHandlingPolicy
- The value to convert to an enum constant.
Returns
- ↪GroupNodeHandlingPolicy
- 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 - GroupNodeHandlingPolicy
- 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.