Enum constants that specify how group nodes are handled by the OrganicLayout.
Type Details
- yfiles module
- layout-core
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.organic.GroupNodeMode
See Also
Constants
A mode constant 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.
See Also
The substructure detection is not applied to the content of groups with fixed bounds.
If property considerNodeLabels is enabled, property nodeOverlapsAllowed is disabled or if there are NodeHalos, 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 edge orientations or alignment constraints require a larger drawing space than the one available within the group bounds.
A mode constant 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 considerNodeLabels is enabled, property nodeOverlapsAllowed is disabled or if there are NodeHalos, the bounds restriction may be violated because the algorithm has to adjust the graph elements such that there are no overlaps.
A mode constant for placing and resizing the group nodes and their content by the layout algorithm.
Remarks
The size of the group is adjusted to the space that is needed by the placement of its contained nodes.
See Also
Static Methods
Converts the argument to GroupNodeMode.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - GroupNodeMode
- The value to convert to GroupNodeMode.
Returns
- ↪GroupNodeMode
- Either
value
if it is already a GroupNodeMode or an appropriate converted value.