public static class SugiyamaLayoutAlgorithm.SimpleLayerProvider extends Object implements SugiyamaLayoutAlgorithm.LayerProvider
Constructor and Description |
---|
SimpleLayerProvider() |
Modifier and Type | Method and Description |
---|---|
List<List<SugiyamaLayoutAlgorithm.NodeWrapper>> |
calculateLayers(List<org.eclipse.gef.graph.Node> nodes)
Creating layers of the nodes and makes it possible to assign layers
to those nodes.
|
public List<List<SugiyamaLayoutAlgorithm.NodeWrapper>> calculateLayers(List<org.eclipse.gef.graph.Node> nodes)
SugiyamaLayoutAlgorithm.LayerProvider
calculateLayers
in interface SugiyamaLayoutAlgorithm.LayerProvider
nodes
- List of all the nodes that needs to be organizedSugiyamaLayoutAlgorithm.NodeWrapper
sCopyright (c) 2014 itemis AG and others. All rights reserved.