Packagecom.yworks.yfiles.layout
Classpublic class PortConstraintKeys
InheritancePortConstraintKeys Inheritance YObject Inheritance Object

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

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

See also

DataProviders
com.yworks.yfiles.layout.PortConstraint


Public Methods
 MethodDefined By
 Inherited
equals(o:Object):Boolean
YObject
 Inherited
getClass():Class
YObject
 Inherited
hashCode():int
YObject
Public Constants
 ConstantDefined By
  SOURCE_GROUPID_KEY : Object = y.layout.PortConstraintKeys.SOURCE_GROUPID_KEY
[static] Key used to associate a com.yworks.yfiles.base.DataProvider that provides source port group information for edges of the input graph.
PortConstraintKeys
  SOURCE_PORT_CONSTRAINT_KEY : Object = y.layout.PortConstraintKeys.PortConstraintKeys.SPC_KEY
[static] Key used to associate a com.yworks.yfiles.base.DataProvider that provides source port constraints for edges of the input graph.
PortConstraintKeys
  TARGET_GROUPID_KEY : Object = y.layout.PortConstraintKeys.TARGET_GROUPID_KEY
[static] Key used to associate a com.yworks.yfiles.base.DataProvider that provides target port group information for edges of the input graph.
PortConstraintKeys
  TARGET_PORT_CONSTRAINT_KEY : Object = y.layout.PortConstraintKeys.PortConstraintKeys.TPC_KEY
[static] Key used to associate a com.yworks.yfiles.base.DataProvider that provides target port constraints for edges of the input graph.
PortConstraintKeys
Constant Detail
SOURCE_GROUPID_KEYConstant
public static const SOURCE_GROUPID_KEY:Object = y.layout.PortConstraintKeys.SOURCE_GROUPID_KEY

Key used to associate a com.yworks.yfiles.base.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.

See also

SOURCE_PORT_CONSTRAINT_KEYConstant 
public static const SOURCE_PORT_CONSTRAINT_KEY:Object = y.layout.PortConstraintKeys.PortConstraintKeys.SPC_KEY

Key used to associate a com.yworks.yfiles.base.DataProvider that provides source port constraints for edges of the input graph. The associated DataProvider can return an object of type com.yworks.yfiles.layout.PortConstraint for an edge.

See also

TARGET_GROUPID_KEYConstant 
public static const TARGET_GROUPID_KEY:Object = y.layout.PortConstraintKeys.TARGET_GROUPID_KEY

Key used to associate a com.yworks.yfiles.base.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.

See also

TARGET_PORT_CONSTRAINT_KEYConstant 
public static const TARGET_PORT_CONSTRAINT_KEY:Object = y.layout.PortConstraintKeys.PortConstraintKeys.TPC_KEY

Key used to associate a com.yworks.yfiles.base.DataProvider that provides target port constraints for edges of the input graph. The associated DataProvider can return an object of type com.yworks.yfiles.layout.PortConstraint for an edge.

See also