de.cau.cs.kieler.klay.layered.p1cycles
Class InteractiveCycleBreaker
java.lang.Object
de.cau.cs.kieler.core.alg.AbstractAlgorithm
de.cau.cs.kieler.klay.layered.p1cycles.InteractiveCycleBreaker
- All Implemented Interfaces:
- IAlgorithm, ILayoutPhase, ILayoutProcessor
public class InteractiveCycleBreaker
- extends AbstractAlgorithm
- implements ILayoutPhase
A cycle breaker that responds to user interaction by respecting the direction of
edges as given in the original drawing.
- Precondition:
- none
- Postcondition:
- the graph has no cycles
- Rating

Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InteractiveCycleBreaker
public InteractiveCycleBreaker()
getIntermediateProcessingStrategy
public IntermediateProcessingStrategy getIntermediateProcessingStrategy(LayeredGraph graph)
- Returns the intermediate layout processors this phase depends on.
- Specified by:
getIntermediateProcessingStrategy
in interface ILayoutPhase
- Parameters:
graph
- the layered graph to be processed. The strategy may vary
depending on certain properties of the graph.
- Returns:
- intermediate processing strategy. May be
null
.
process
public void process(LayeredGraph layeredGraph)
- Performs the phase's work on the given graph.
- Specified by:
process
in interface ILayoutProcessor
- Parameters:
layeredGraph
- a layered graph