Enum constants that specify how group nodes are handled by the OrganicLayout.
Members
No filters for this type
Constants
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.
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.
static
See Also
Developer's Guide
API
- groupNodeHandlingPolicies
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.
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.
static
See Also
Developer's Guide
API
- groupNodeHandlingPolicies
The size of the group is freely adjusted to the space that is needed by the placement of its contained nodes.
static
See Also
Developer's Guide
API
- groupNodeHandlingPolicies
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: GroupNodeHandlingPolicy
- The value to convert to an enum constant.
Return Value
- GroupNodeHandlingPolicy
- 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: GroupNodeHandlingPolicy
- 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.