de.cau.cs.kieler.kiml.graphviz.dot.transform
Class DotImporter

java.lang.Object
  extended by de.cau.cs.kieler.kiml.graphviz.dot.transform.DotImporter
All Implemented Interfaces:
IGraphTransformer<GraphvizModel,KNode>

public class DotImporter
extends Object
implements IGraphTransformer<GraphvizModel,KNode>

A transformer for Graphviz Dot.

Rating red

Constructor Summary
DotImporter()
           
 
Method Summary
 void transferLayout(TransformationData<GraphvizModel,KNode> transData)
          Apply the layout of the target graphs to the original source graph instance.
 void transform(TransformationData<GraphvizModel,KNode> transData)
          Transform the source graph structure into one ore more instances of the target graph type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DotImporter

public DotImporter()
Method Detail

transform

public void transform(TransformationData<GraphvizModel,KNode> transData)
Transform the source graph structure into one ore more instances of the target graph type.

Specified by:
transform in interface IGraphTransformer<GraphvizModel,KNode>
Parameters:
transData - the transformation data instance that holds the source graph and is enriched with the new target graphs

transferLayout

public void transferLayout(TransformationData<GraphvizModel,KNode> transData)
Apply the layout of the target graphs to the original source graph instance. This may only be used on target graphs that were created by the same transformation class.

Specified by:
transferLayout in interface IGraphTransformer<GraphvizModel,KNode>
Parameters:
transData - the transformation data instance