Class SugiyamaLayoutAlgorithm.BarycentricCrossingReducer
- java.lang.Object
-
- org.eclipse.gef.layout.algorithms.SugiyamaLayoutAlgorithm.BarycentricCrossingReducer
-
- All Implemented Interfaces:
SugiyamaLayoutAlgorithm.CrossingReducer
- Enclosing class:
- SugiyamaLayoutAlgorithm
public static class SugiyamaLayoutAlgorithm.BarycentricCrossingReducer extends java.lang.Object implements SugiyamaLayoutAlgorithm.CrossingReducer
-
-
Constructor Summary
Constructors Constructor Description BarycentricCrossingReducer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcrossReduction(java.util.List<java.util.List<SugiyamaLayoutAlgorithm.NodeWrapper>> nodes)From the given nodes it creates a map of NodeLayouts and NodeWrappers which contains the layers and indexes of the nodes
-
-
-
Method Detail
-
crossReduction
public void crossReduction(java.util.List<java.util.List<SugiyamaLayoutAlgorithm.NodeWrapper>> nodes)
Description copied from interface:SugiyamaLayoutAlgorithm.CrossingReducerFrom the given nodes it creates a map of NodeLayouts and NodeWrappers which contains the layers and indexes of the nodes- Specified by:
crossReductionin interfaceSugiyamaLayoutAlgorithm.CrossingReducer- Parameters:
nodes- List of nodes needed to be organized
-
-