dot.h File Reference

#include "qtbc.h"
#include <qlist.h>
#include <qdict.h>
#include "sortdict.h"

Go to the source code of this file.

Classes

struct  EdgeInfo
 Attributes of an edge of a dot graph. More...
class  DotNode
 A node in a dot graph. More...
class  DotGfxHierarchyTable
 Represents a graphical class hierarchy. More...
class  DotClassGraph
 Representation of a class inheritance or dependency graph. More...
class  DotInclDepGraph
 Representation of an include dependency graph. More...
class  DotCallGraph
 Representation of an call graph. More...
class  DotDirDeps
 Representation of an directory dependency graph. More...
class  DotGroupCollaboration
 Representation of a group collaboration graph. More...
class  DotGroupCollaboration::Link
class  DotGroupCollaboration::Edge
class  DotRunner
 Helper class to run dot from doxygen. More...

Enumerations

enum  GraphOutputFormat { BITMAP, EPS }

Functions

void generateGraphLegend (const char *path)
void writeDotGraphFromFile (const char *inFile, const char *outDir, const char *outFile, GraphOutputFormat format)
QString getDotImageMapFromFile (const QString &inFile, const QString &outDir, const QCString &relPath, const QString &context)
void writeDotDirDepGraph (QTextStream &t, DirDef *dd)


Enumeration Type Documentation

enum GraphOutputFormat

Enumerator:
BITMAP 
EPS 

Definition at line 38 of file dot.h.


Function Documentation

void generateGraphLegend ( const char *  path  ) 

Generated a graphs legend page

Definition at line 2714 of file dot.cpp.

References DotRunner::addJob(), Config_getEnum, convertToQCString(), err(), FONTNAME, Doxygen::htmlFileExtension, and DotRunner::run().

Referenced by writeGraphInfo().

QString getDotImageMapFromFile ( const QString &  inFile,
const QString &  outDir,
const QCString &  relPath,
const QString &  context 
)

Marco Dalla Gasperina [marcodg@attbi.com] added this to allow dotfiles to generate image maps.

Parameters:
inFile just the basename part of the filename
outDir output directory
relPath relative path the to root of the output dir
context the scope in which this graph is found (for resolving links)
Returns:
a string which is the HTML image map (without the <map></map>)

Definition at line 2839 of file dot.cpp.

References DotRunner::addJob(), convertToQCString(), MAP_CMD, and DotRunner::run().

void writeDotDirDepGraph ( QTextStream &  t,
DirDef dd 
)

Definition at line 3287 of file dot.cpp.

References SDict< T >::append(), Config_getBool, SDict< T >::count(), UsedDir::dir(), DirDef::dirCount(), Doxygen::dirRelations, UsedDir::filePairs(), FONTNAME, DirDef::getOutputFileBase(), Doxygen::htmlFileExtension, UsedDir::inherited(), DirDef::isCluster(), DirDef::isParentOf(), DirDef::parent(), DirDef::shortName(), DirDef::subDirs(), and DirDef::usedDirs().

Referenced by DirDef::writeDepGraph().

void writeDotGraphFromFile ( const char *  inFile,
const char *  outDir,
const char *  outFile,
GraphOutputFormat  format 
)

Definition at line 2770 of file dot.cpp.

References DotRunner::addJob(), BITMAP, Config_getBool, Config_getEnum, convertToQCString(), EPS, err(), portable_getenv(), portable_pathSeparator(), portable_setenv(), portable_system(), portable_unsetenv(), QCString, and DotRunner::run().



Generated on Mon Mar 31 10:58:52 2008 by  doxygen 1.5.1