Class SugiyamaLayoutAlgorithm.SimpleLayerProvider
- java.lang.Object
-
- org.eclipse.gef.layout.algorithms.SugiyamaLayoutAlgorithm.SimpleLayerProvider
-
- All Implemented Interfaces:
SugiyamaLayoutAlgorithm.LayerProvider
- Enclosing class:
- SugiyamaLayoutAlgorithm
public static class SugiyamaLayoutAlgorithm.SimpleLayerProvider extends java.lang.Object implements SugiyamaLayoutAlgorithm.LayerProvider
-
-
Constructor Summary
Constructors Constructor Description SimpleLayerProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.util.List<SugiyamaLayoutAlgorithm.NodeWrapper>>
calculateLayers(java.util.List<org.eclipse.gef.graph.Node> nodes)
Creating layers of the nodes and makes it possible to assign layers to those nodes.
-
-
-
Method Detail
-
calculateLayers
public java.util.List<java.util.List<SugiyamaLayoutAlgorithm.NodeWrapper>> calculateLayers(java.util.List<org.eclipse.gef.graph.Node> nodes)
Description copied from interface:SugiyamaLayoutAlgorithm.LayerProvider
Creating layers of the nodes and makes it possible to assign layers to those nodes.- Specified by:
calculateLayers
in interfaceSugiyamaLayoutAlgorithm.LayerProvider
- Parameters:
nodes
- List of all the nodes that needs to be organized- Returns:
- a list of layers for the given nodes, represented each as a
list of
SugiyamaLayoutAlgorithm.NodeWrapper
s
-
-