Layerer that uses a breadth first search to assign layers to the nodes.
Namespace: yWorks.yFiles.Layout.HierarchicAssembly: yWorks.yFilesNET.Algorithms (in yWorks.yFilesNET.Algorithms.dll) Version: 4.1.0.1 (4.1.0.1)
Syntax
Remarks
Layerer that uses a breadth first search to assign layers to the nodes.
The nodes of the first layer can be freely chosen (see
CoreNodesDpKey
).
The nodes belonging 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.
Inheritance Hierarchy
System..::..Object
yWorks.yFiles.Layout.Hierarchic..::..BFSLayerer
yWorks.yFiles.Layout.Hierarchic..::..BFSLayerer