mapss.dif.csdf.sdf
Class SDFToDot

java.lang.Object
  extended by mapss.dif.graph.DotGenerator
      extended by mapss.dif.DIFToDot
          extended by mapss.dif.csdf.CSDFToDot
              extended by mapss.dif.csdf.sdf.SDFToDot

public class SDFToDot
extends CSDFToDot

DOT file generator for SDFGraph objects. It is used to create dot files as an input to GraphViz tools. A DOT file is created by first defining an SDFToDot object and then using the DotGenerator.toFile(java.lang.String) method. Node labels are set to element names in DIFGraph and edge labels are set to production, consumption and delay values.

Version:
$Id: SDFToDot.java 406 2007-05-10 14:27:07Z plishker $
Author:
Fuat Keceli

Field Summary
 
Fields inherited from class mapss.dif.graph.DotGenerator
_clusterAttributes, _clusters, _elementAttributes, _extraLines, _graph, _isDirected, _name
 
Constructor Summary
SDFToDot(SDFGraph graph)
          Creates a DotGenerator object from an SDFGraph.
 
Method Summary
 
Methods inherited from class mapss.dif.graph.DotGenerator
addLine, isClusterNode, setAsDirected, setAttribute, setAttribute, setCluster, setGraphName, toFile, toFile, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SDFToDot

public SDFToDot(SDFGraph graph)
Creates a DotGenerator object from an SDFGraph.

Parameters:
graph - An SDFGraph.