documentationfor yFiles for HTML 2.6

BFSLayerer

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

Inheritance Hierarchy
BFSLayerer
Implemented Interfaces

Remarks

The nodes of the first layer can be freely selected (see CORE_NODES_DP_KEY). 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
layout-hierarchic
yfiles-umd modules
layout-familytree, layout-hierarchic, layout-radial, layout
Legacy UMD name
yfiles.hierarchic.BFSLayerer

See Also

Constructors

Methods

Constants