de.cau.cs.kieler.klay.layered.intermediate
Class NorthSouthPortPostprocessor

java.lang.Object
  extended by de.cau.cs.kieler.core.alg.AbstractAlgorithm
      extended by de.cau.cs.kieler.klay.layered.intermediate.NorthSouthPortPostprocessor
All Implemented Interfaces:
IAlgorithm, ILayoutProcessor

public class NorthSouthPortPostprocessor
extends AbstractAlgorithm
implements ILayoutProcessor

Removes dummy nodes created by NorthSouthPortPreprocessor and routes the edges properly.

Precondition:
a layered graph; nodes are placed; edges are routed; port positions are fixed.
Postcondition:
north south port dummy nodes are removed, their edges properly reconnected and routed.
Slots:
After phase 5.
Same-slot dependencies:
None.

See Also:
NorthSouthPortPreprocessor
Rating red

Constructor Summary
NorthSouthPortPostprocessor()
           
 
Method Summary
 void process(LayeredGraph layeredGraph)
          Performs the phase's work on the given graph.
 
Methods inherited from class de.cau.cs.kieler.core.alg.AbstractAlgorithm
getMonitor, reset, reset, setProgressMonitor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.cau.cs.kieler.core.alg.IAlgorithm
reset, reset, setProgressMonitor
 

Constructor Detail

NorthSouthPortPostprocessor

public NorthSouthPortPostprocessor()
Method Detail

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