Policy to determine whether and how the GraphModelManager should nest the render tree elements of nodes and edges if the graph is grouped.
Type Details
- yFiles module
- view
Constants
Only the render tree elements of group nodes are nested according to their depth in the node hierarchy.
Remarks
All leaf nodes are top-level in the nodeGroup.
All edges are top-level in edgeGroup.
Group nodes are combined by their hierarchical depth (i.e. the number of their ancestor nodes). For all nodes having the same hierarchical depth, an IRenderTreeGroup is added to the groupNodeGroup.
The render tree elements of nodes are nested according to their location in the node hierarchy.
Remarks
The render tree elements of nodes and edges are nested according to their location in the node hierarchy.
Remarks
The render tree elements of nodes and edges are not nested.
Remarks
Static Methods
Converts the given argument to an enum constant of this enum type.
Remarks
Parameters
A map of options to pass to the method.
- value - HierarchicalNestingPolicy
- The value to convert to an enum constant.
Returns
- ↪HierarchicalNestingPolicy
- The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
Parameters
A map of options to pass to the method.
- value - HierarchicalNestingPolicy
- 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.