Layerer that uses a breadth first search to assign layers to the nodes.
Namespace: yWorks.yFiles.Layout.HierarchicAssembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.1.0.2
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