Specifies the general contract for factory classes that can be used to associate sequence constraints to a graph.Namespace: yWorks.yFiles.Layout.Hierarchic.Incremental
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 18.104.22.168
public interface ISequenceConstraintFactory
Public Interface ISequenceConstraintFactory
Specifies the general contract for factory classes that can be used to associate sequence constraints to a graph. Sequence constraints affect the per layer sequence calculated in hierarchical layouts.
A SequenceConstraintFactory has to be disposed after use. Disposing the factory will also remove all constraints previously specified for the factory's associated graph.Notes:
- Sequence constraints can't be used together with swimlanes currently.
- Sequence constraints that are specified for a group child node will be applied to the parent node instead
- If you manually register a DataProvider under NodeIdDpKey on the graph, you must use the corresponding node ids stored in this DataProvider as arguments for all methods that create a constraint. Otherwise, you can just use the node instances themselves.