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

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

public class HypernodesProcessor
extends AbstractAlgorithm
implements ILayoutProcessor

Improves the placement of hypernodes by moving them such that they replace the join points of connected edges.

Precondition:
a layered graph with all five phases done
Postcondition:
the position of some hypernodes as well as some bend points of connected edges may be changed
Slots:
after phase 5

Rating red

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

HypernodesProcessor

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