| 
 | Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GroupingKeys
This interface defines DataProvider keys for those layout algorithms that can
 handle hierarchically grouped graphs.
 
   There are two groups of DataProvider keys. DataProviders registered with 
   NODE_ID_DPKEY, GROUP_DPKEY and PARENT_NODE_ID_DPKEY 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_DPKEY and MINIMUM_NODE_SIZE_DPKEY are used for registering
   DataProviders that add layout information to group nodes such as the insets and the minimum size 
   respectively.
 
Grouping| Field Summary | |
|---|---|
| static java.lang.Object | GROUP_DPKEYA DataProviderkey for distinguishing normal nodes from group nodes. | 
| static java.lang.Object | GROUP_NODE_INSETS_DPKEYA DataProviderkey for assigning insets for group nodes. | 
| static java.lang.Object | MINIMUM_NODE_SIZE_DPKEYA DataProviderkey for assigning minimum sizes for group nodes. | 
| static java.lang.Object | NODE_ID_DPKEYA DataProviderkey for assigning a unique ID for each node. | 
| static java.lang.Object | PARENT_NODE_ID_DPKEYA DataProviderkey for describing the hierarchy of nodes in the graph. | 
| Field Detail | 
|---|
static final java.lang.Object NODE_ID_DPKEY
DataProvider key for assigning a unique ID for each node.
 
 The IDs of the nodes need to differ based on Object.hashCode() and Object.equals(Object).
static final java.lang.Object PARENT_NODE_ID_DPKEY
DataProvider key for describing the hierarchy of nodes in the graph.
NODE_ID_DPKEYstatic final java.lang.Object GROUP_DPKEY
DataProvider key for distinguishing normal nodes from group nodes.
static final java.lang.Object GROUP_NODE_INSETS_DPKEY
DataProvider key for assigning insets for group nodes.
 
 Insets reserve space around the contents of a group node. Labels and other visual decorations may be placed inside
 this space.
static final java.lang.Object MINIMUM_NODE_SIZE_DPKEY
DataProvider key for assigning minimum sizes for group nodes.
layout algorithms ignore the minimum size for an empty
         group node, i.e., a node that is marked as group but has no children assigned to it.| 
 | © Copyright 2000-2025, yWorks GmbH. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||