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

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

public class PortPositionProcessor
extends AbstractAlgorithm
implements ILayoutProcessor

Determines the actual positions of ports for nodes whose port positions are left to be determined. (whose port constraints are not PortConstraints.FIXED_POS)

Precondition:
a layered graph; nodes have fixed port orders.
Postcondition:
nodes have fixed port positions.
Slots:
Before phase 4.
Same-slot dependencies:
PortSideProcessor

See Also:
PortSideProcessor
Rating red

Constructor Summary
PortPositionProcessor()
           
 
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

PortPositionProcessor

public PortPositionProcessor()
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