Layerer implementation that uses relative and absolute layering constraints.

Namespace: yWorks.yFiles.Layout.Hierarchic
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.4.0.0

Syntax

C#
public class ConstraintLayerer : ILayerer, ILayerer
Visual Basic
Public Class ConstraintLayerer _ Implements ILayerer, ILayerer

Remarks

Layerer implementation that uses relative and absolute layering constraints.

This layerer can use two sets of constraints:

  • Absolute constraints, i.e. place nodes at the top or bottom layer
  • Relative constraints, i.e. place a node above, below or in the same layer as another node
Constraints for a given graph can be created with means of a ConstraintLayerer..::..IConstraintFactory instance, which should be created with CreateConstraintFactory(Graph) for a given graph instance.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.Layout.Hierarchic..::..ConstraintLayerer

See Also