y.layout
Interface PortConstraintKeys

All Known Implementing Classes:
HierarchicLayouter, PortConstraint

public interface PortConstraintKeys

This interface defines keys used to associate DataProviders that provide port constraints for all edges of the input graph. The associated DataProvider can return an object of type PortConstraint for an edge.

LayoutAlgorithms implementing this interface indicate that they will try to obey the port constraints provided by these keys.


Field Summary
static Object SOURCE_GROUPID_KEY
          Key used to associate a DataProvider that provides source port group information for edges of the input graph.
static Object SOURCE_PORT_CONSTRAINT_KEY
          Key used to associate a DataProvider that provides source port constraints for edges of the input graph.
static Object TARGET_GROUPID_KEY
          Key used to associate a DataProvider that provides target port group information for edges of the input graph.
static Object TARGET_PORT_CONSTRAINT_KEY
          Key used to associate a DataProvider that provides target port constraints for edges of the input graph.
 

Field Detail

SOURCE_PORT_CONSTRAINT_KEY

public static final Object SOURCE_PORT_CONSTRAINT_KEY
Key used to associate a DataProvider that provides source port constraints for edges of the input graph. The associated DataProvider can return an object of type PortConstraint for an edge.


TARGET_PORT_CONSTRAINT_KEY

public static final Object TARGET_PORT_CONSTRAINT_KEY
Key used to associate a DataProvider that provides target port constraints for edges of the input graph. The associated DataProvider can return an object of type PortConstraint for an edge.


SOURCE_GROUPID_KEY

public static final Object SOURCE_GROUPID_KEY
Key used to associate a DataProvider that provides source port group information for edges of the input graph. The associated DataProvider can return any object or null. Edge sharing a source group identifier will share a common bus near the source or at a common source node if possible. null is not interpreted as a group identifier.


TARGET_GROUPID_KEY

public static final Object TARGET_GROUPID_KEY
Key used to associate a DataProvider that provides target port group information for edges of the input graph. The associated DataProvider can return any object or null. Edge sharing a target group identifier will share a common bus near the target or at a common target node if possible. null is not interpreted as a group identifier.


© Copyright 2000-2003,
yWorks GmbH.
All rights reserved.

2003