de.cau.cs.kieler.klay.layered.intermediate
Class PortSideProcessor
java.lang.Object
de.cau.cs.kieler.core.alg.AbstractAlgorithm
de.cau.cs.kieler.klay.layered.intermediate.PortSideProcessor
- All Implemented Interfaces:
- IAlgorithm, ILayoutProcessor
public class PortSideProcessor
- extends AbstractAlgorithm
- implements ILayoutProcessor
Makes sure ports have at least a fixed side. If they don't, input ports are assigned
to the left and output ports to the right side.
- Precondition:
- a layered graph.
- Postcondition:
- all nodes have their ports distributed, with port constraints
set to fixed sides at the least.
- Slots:
- Before phase 3.
- 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 |
PortSideProcessor
public PortSideProcessor()
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