de.cau.cs.kieler.klay.layered.intermediate
Class ReversedEdgeRestorer
java.lang.Object
de.cau.cs.kieler.core.alg.AbstractAlgorithm
de.cau.cs.kieler.klay.layered.intermediate.ReversedEdgeRestorer
- All Implemented Interfaces:
- IAlgorithm, ILayoutProcessor
public class ReversedEdgeRestorer
- extends AbstractAlgorithm
- implements ILayoutProcessor
Restores the direction of reversed edges. (edges with the property
Properties.REVERSED
set to true
)
All edges are traversed to look for reversed edges. If such edges are found,
they are restored, the ports they are connected to being restored as well.
- Precondition:
- a layered graph.
- Postcondition:
- Reversed edges are restored to their original direction.
- Slots:
- After phase 5.
- Same-slot dependencies:
- None.
- Rating

Method Summary |
void |
process(LayeredGraph layeredGraph)
Performs the phase's work on the given graph. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReversedEdgeRestorer
public ReversedEdgeRestorer()
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