Enum constants that specify how groups 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.GroupsPolicy
See Also
Constants
Group handling policy for keeping the relative positions of nodes that belong to the same group fixed.
Remarks
The fixed groups will be taken into account when placing the other nodes of the graph.
By registering a IDataProvider with key FIXED_GROUP_NODES_DP_KEY, the individual group nodes can be marked as fixed or not fixed. If there is no data provider registered with the mentioned key, then all group nodes of the graph will be treated as fixed.
See Also
Sample Graphs
Group handling policy for completely ignoring group nodes during the layout process.
Group handling policy for considering and arranging the nodes contained in a group such that their togetherness is highlighted.
See Also
Sample Graphs
Static Methods
Converts the argument to GroupsPolicy.
Parameters
A map of options to pass to the method.
- value - GroupsPolicy
- The value to convert to GroupsPolicy.
Returns
- ↪GroupsPolicy
- Either
value
if it is already a GroupsPolicy or an appropriate converted value.