documentationfor yFiles for HTML 3.0.0.3

OrganicConstraintData<TNode>

This class allows to define additional constraints on nodes of a graph that will be applied by the OrganicLayout during the layout calculation.

Inheritance Hierarchy
OrganicConstraintData

Remarks

Constraints modify the behavior of the organic layout algorithm for nodes of a graph, in order to introduce structures, relative positioning, or area restrictions on the positions of the nodes in the layout.

Type Parameters

TNode

Type Details

yFiles module
algorithms
For graphs with multiple connected components, the OrganicLayout considers each component separately, using the registered component layout. To apply constraints between nodes of different components, this component layout must be disabled.
For graphs with groups, any constraint may only be applied to nodes with the same parent.

Constructors

Methods