public final class PortConstraintKeys extends Object
PortConstraintKeys
are used for associating DataProviders
that contain constraints for the edges of the input graph.
These constraints can either be PortConstraint
s or edge groups.
PortConstraint
s force the edges to start/end on specified sides of the node. They may also restrict ports of
edges to certain coordinates. Edge groups will bundle edges at a common source or target. They will start at the same
coordinates and may share parts of their edge routes.
Layout algorithms that support PortConstraint
s or edge groups will access the
IDataProvider
s using the provided keys.
Modifier and Type | Field and Description |
---|---|
static EdgeDpKey<Object> |
SOURCE_GROUP_ID_DPKEY
A
DataProvider key for assigning source group information for edges of the input graph
Edges sharing a source group identifier will share a common bus near the source or at a common source node if possible. |
static EdgeDpKey<PortConstraint> |
SOURCE_PORT_CONSTRAINT_DPKEY
A
DataProvider key for providing source constraints for edges in the input graph
|
static EdgeDpKey<Object> |
SOURCE_PORT_GROUP_ID_DPKEY
A
DataProvider key for assigning port group ids to the edges' source.
|
static EdgeDpKey<Object> |
TARGET_GROUP_ID_DPKEY
A
DataProvider key for assigning target group information for edges of the input graph
Edges sharing a target group identifier will share a common bus near the target or at a common target node if possible. |
static EdgeDpKey<PortConstraint> |
TARGET_PORT_CONSTRAINT_DPKEY
A
DataProvider key for providing target constraints for edges in the input graph
|
static EdgeDpKey<Object> |
TARGET_PORT_GROUP_ID_DPKEY
A
DataProvider key for assigning port group ids to the edges' target.
|
public static final EdgeDpKey<Object> SOURCE_GROUP_ID_DPKEY
DataProvider
key for assigning source group information for edges of the input graph
Edges sharing a source group identifier will share a common bus near the source or at a common source node if possible.
HierarchicLayout
is able to group incoming and outgoing edges.
Therefore, the source group identifier of the outgoing edges of a node has to match with the target group identifier of
the incoming edges.public static final EdgeDpKey<PortConstraint> SOURCE_PORT_CONSTRAINT_DPKEY
DataProvider
key for providing source constraints for edges in the input graph
public static final EdgeDpKey<Object> SOURCE_PORT_GROUP_ID_DPKEY
DataProvider
key for assigning port group ids to the edges' source.
All edges with the same port id at a node will share the same port location. However, they will be routed independently.
HierarchicLayout
supports port grouping.public static final EdgeDpKey<Object> TARGET_GROUP_ID_DPKEY
DataProvider
key for assigning target group information for edges of the input graph
Edges sharing a target group identifier will share a common bus near the target or at a common target node if possible.
HierarchicLayout
is able to group incoming and outgoing edges.
Therefore, the target group identifier of the incoming edges of a node has to match with the source group identifier of
the outgoing edges.public static final EdgeDpKey<PortConstraint> TARGET_PORT_CONSTRAINT_DPKEY
DataProvider
key for providing target constraints for edges in the input graph
public static final EdgeDpKey<Object> TARGET_PORT_GROUP_ID_DPKEY
DataProvider
key for assigning port group ids to the edges' target.
All edges with the same port id at a node will share the same port location. However, they will be routed independently.
HierarchicLayout
supports port grouping.