This interface defines IDataProvider keys for those layout algorithms that can handle hierarchically grouped graphs.
Remarks
There are two groups of IDataProvider keys. IDataProviders registered with NODE_ID_DP_KEY, GROUP_DP_KEY and PARENT_NODE_ID_DP_KEY define the relationship of nodes within the hierarchy. A parent node is defined for each node in the graph. This parent is the containing group node. For top-level nodes, this parent is null
.
GROUP_NODE_INSETS_DP_KEY and MINIMUM_NODE_SIZE_DP_KEY are used for registering IDataProviders that add layout information to group nodes such as the insets and the minimum size respectively.
Type Details
- yfiles module
- algorithms
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.layout.GroupingKeys
See Also
Constants
A data provider key for distinguishing normal nodes from group nodes.
Domain | YNode | |
Values | boolean | true if the node is a group node which might have children, false otherwise |
See Also
A data provider key for assigning minimum sizes for group nodes.
Domain | YNode | |
Values | YDimension | the minimum width and height for the node |