documentationfor yFiles for HTML 3.0.0.3

BfsLayerAssigner

BfsLayerAssigner uses a breadth-first search for assigning layers to the nodes.

Inheritance Hierarchy
BfsLayerAssigner
Implemented Interfaces

Remarks

The nodes of the first layer can be freely selected (see bfsLayerAssignerCoreNodes). The nodes that belong to a subsequent layer are determined as follows: Add all yet unassigned nodes to the new layer that are connected to nodes already assigned. As a consequence, all connected nodes will be at most one layer apart. Also, edges between nodes that belong to the same layer are possible.

Type Details

yFiles module
algorithms

Constructors

Methods

Constants