documentationfor yFiles for HTML 3.0.0.3

WeightedLayerAssigner

This class implements the layering phase of the HierarchicalLayout (i.e., the assignment of the nodes to layers).

Inheritance Hierarchy
WeightedLayerAssigner
Implemented Interfaces

Remarks

It first makes the directed graph acyclic. Then, it assigns the layers such that edge weights are respected. A weight defines a minimum distance between the two end points of an edge.

Default Values of Properties

stopDurationMAX_VALUEThe layout algorithm runs unrestricted.
weightedCycleRemovalfalseThe DFS-based approach is used.

Type Details

yFiles module
algorithms

Constructors

Properties

Methods