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

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

public class GraphTransformer
extends AbstractAlgorithm
implements ILayoutProcessor

A layout processor that is able to perform transformations on the coordinates of a graph.

Rating red

Nested Class Summary
static class GraphTransformer.Mode
          definition of transformation modes.
 
Constructor Summary
GraphTransformer(GraphTransformer.Mode themode)
          Creates a graph transformer with the given mode.
 
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

GraphTransformer

public GraphTransformer(GraphTransformer.Mode themode)
Creates a graph transformer with the given mode.

Parameters:
themode - the transformation mode
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