de.cau.cs.kieler.klay.layered.intermediate
Class HierarchicalPortPositionProcessor
java.lang.Object
de.cau.cs.kieler.core.alg.AbstractAlgorithm
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

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