mapss.dif.csdf
Class CSDFToDot

java.lang.Object
  extended by mapss.dif.graph.DotGenerator
      extended by mapss.dif.DIFToDot
          extended by mapss.dif.csdf.CSDFToDot
Direct Known Subclasses:
SDFToDot

public class CSDFToDot
extends DIFToDot

DOT file generator for CSDFGraph objects. It is used to create dot files as an input to GraphViz tools. A DOT file is created by first defining an CSDFToDot 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: CSDFToDot.java 524 2008-01-08 19:54:08Z plishker $
Author:
Fuat Keceli

Field Summary
 
Fields inherited from class mapss.dif.graph.DotGenerator
_clusterAttributes, _clusters, _elementAttributes, _extraLines, _graph, _isDirected, _name
 
Constructor Summary
CSDFToDot(CSDFGraph graph)
          Creates a DotGenerator object from a CSDFGraph.
 
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

CSDFToDot

public CSDFToDot(CSDFGraph graph)
Creates a DotGenerator object from a CSDFGraph.

Parameters:
graph - A CSDFGraph.