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

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

public class HierarchicalPortPositionProcessor
extends AbstractAlgorithm
implements ILayoutProcessor

Sets the y coordinate of external node dummies representing eastern or western hierarchical ports. Note that due to additional space required to route edges connected to northern external ports, the y coordinate set here may become invalid and may need to be fixed later. That fixing is part of what HierarchicalPortOrthogonalEdgeRouter does.

This processor is only necessary for node placers that do not respect the Properties.EXT_PORT_RATIO_OR_POSITION property themselves.

Precondition:
A layered graph with finished node placement.
Postcondition:
External node dummies representing western or eastern ports have a correct y coordinate.
Slots:
Before phase 5.
Same-slot dependencies:
None.

See Also:
HierarchicalPortConstraintProcessor, HierarchicalPortDummySizeProcessor, HierarchicalPortOrthogonalEdgeRouter
Rating red

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

HierarchicalPortPositionProcessor

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