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.LayerProvidercalculateLayers in interface SugiyamaLayoutAlgorithm.LayerProvidernodes - List of all the nodes that needs to be organizedSugiyamaLayoutAlgorithm.NodeWrappersCopyright (c) 2014 itemis AG and others. All rights reserved.