exportToDot Class Reference
[Building canvasses]

This class implements a builder for graphviz dot files. More...

#include <exportToDot.h>

Inheritance diagram for exportToDot:

canvasBuilder managedObject goblinRootObject

Public Member Functions

 exportToDot (const abstractMixedGraph &GG, const char *expFileName) throw (ERFile)
 ~exportToDot () throw ()
unsigned long Size () const throw ()
unsigned long Allocated () const throw ()
void DisplayLegenda (long xm, long ym, long radius) throw ()
void WriteArc (TArc, TNode, TNode, TLineStyle, int, TArrowDir, TIndex colourIndex, int depth) throw ()
void WritePolyLine (vector< double > &cx, vector< double > &cy, TLineStyle lineStyle, int width, TArrowDir displayedArrows, TIndex colourIndex, int depth) throw ()
void WriteArrow (TArc a, long xtop, long ytop, double dx, double dy) throw ()
void WriteArcLabel (TArc a, long xm, long ym) throw ()
void DisplayNode (TNode v) throw ()

Detailed Description

This class implements a builder for graphviz dot files.


Constructor & Destructor Documentation

exportToDot const abstractMixedGraph GG,
const char *  expFileName
throw (ERFile)
 

~exportToDot  )  throw ()
 


Member Function Documentation

unsigned long Allocated  )  const throw ()
 

Reimplemented from canvasBuilder.

void DisplayLegenda long  xm,
long  ym,
long  radius
throw () [virtual]
 

Implements canvasBuilder.

void DisplayNode TNode  v  )  throw () [virtual]
 

Implements canvasBuilder.

unsigned long Size  )  const throw () [virtual]
 

Implements goblinRootObject.

void WriteArc TArc  ,
TNode  ,
TNode  ,
TLineStyle  ,
int  ,
TArrowDir  ,
TIndex  colourIndex,
int  depth
throw ()
 

void WriteArcLabel TArc  a,
long  xm,
long  ym
throw () [virtual]
 

Implements canvasBuilder.

void WriteArrow TArc  a,
long  xtop,
long  ytop,
double  dx,
double  dy
throw () [virtual]
 

Implements canvasBuilder.

void WritePolyLine vector< double > &  cx,
vector< double > &  cy,
TLineStyle  lineStyle,
int  width,
TArrowDir  displayedArrows,
TIndex  colourIndex,
int  depth
throw ()