Package | com.yworks.yfiles.layout.hierarchic |
Interface | public interface OldLayerer |
Implementors | AsIsLayerer, BFSLayerer, ConstraintLayerer, GivenLayersLayerer, TopologicalLayerer, WeightedLayerer |
See also
Method | Defined By | ||
---|---|---|---|
This method assigns the nodes in the graph to layers.
| OldLayerer |
assignNodeLayer | () | method |
public function assignNodeLayer(g:LayoutGraph, layer:NodeMap, reversedEdges:EdgeList):int
This method assigns the nodes in the graph to layers.
Parameters
g:LayoutGraph — the graph for which the layers are determined.
| |
layer:NodeMap — here the layers are stored
| |
reversedEdges:EdgeList — here the edges are stored which had been reversed.
|
int — the number of layers
|