Interface SugiyamaLayoutAlgorithm.CrossingReducer
-
- All Known Implementing Classes:
SugiyamaLayoutAlgorithm.BarycentricCrossingReducer,SugiyamaLayoutAlgorithm.GreedyCrossingReducer,SugiyamaLayoutAlgorithm.SplitCrossingReducer
- Enclosing class:
- SugiyamaLayoutAlgorithm
public static interface SugiyamaLayoutAlgorithm.CrossingReducerAn interface for heuristics that reduces edge crossings.
-
-
Method Summary
All Methods Instance Methods Abstract 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
void crossReduction(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- Parameters:
nodes- List of nodes needed to be organized
-
-