documentationfor yFiles for HTML 2.6

ISequenceConstraintFactory

This interface specifies the general contract for factory classes that can be used to associate sequence constraints with a graph.

Inheritance Hierarchy
ISequenceConstraintFactory

Remarks

Sequence constraints affect the sequence of nodes within a layer.

A ISequenceConstraintFactory has to be disposed of after use. Disposing of the factory will also remove all constraints previously specified for the factory's associated graph.

Type Details

yfiles module
layout-core
yfiles-umd modules
All layout modules, view-layout-bridge
Legacy UMD name
yfiles.hierarchic.ISequenceConstraintFactory

See Also

  • Sequence constraints cannot be used together with swimlanes.
  • If you manually register with the graph a IDataProvider with key NODE_ID_DP_KEY, you must use the corresponding node IDs stored in this IDataProvider as arguments for all methods that create a constraint. Otherwise, you can just use the node instances themselves.

Sample Graphs

Properties

Methods