de.cau.cs.kieler.klay.layered.intermediate
Class LayerConstraintProcessor
java.lang.Object
de.cau.cs.kieler.core.alg.AbstractAlgorithm
de.cau.cs.kieler.klay.layered.intermediate.LayerConstraintProcessor
- All Implemented Interfaces:
- IAlgorithm, ILayoutProcessor
public class LayerConstraintProcessor
- extends AbstractAlgorithm
- implements ILayoutProcessor
Moves nodes with layer constraints to the appropriate layers. To meet the preconditions of
this processor, the EdgeAndLayerConstraintEdgeReverser
can be used.
- Precondition:
- a layered graph; nodes to be placed in the first layer have only
outgoing edges; nodes to be placed in the last layer have only incoming edges.
- Postcondition:
- nodes with layer constraints have been placed in the
appropriate layers.
- Slots:
- Before phase 3.
- Same-slot dependencies:
HierarchicalPortConstraintProcessor
- See Also:
EdgeAndLayerConstraintEdgeReverser
- 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 |
LayerConstraintProcessor
public LayerConstraintProcessor()
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