ISLEman
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
DotNode Class Reference

A node in a dot graph. More...

#include <dot.h>

Public Types

enum  GraphType {
  Dependency, Inheritance, Collaboration, Hierarchy,
  CallGraph
}
 
enum  TruncState { Unknown, Truncated, Untruncated }
 

Public Member Functions

 DotNode (int n, const char *lab, const char *tip, const char *url, bool rootNode=FALSE, ClassDef *cd=0)
 
void addChild (DotNode *n, int edgeColor=EdgeInfo::Purple, int edgeStyle=EdgeInfo::Solid, const char *edgeLab=0, const char *edgeURL=0, int edgeLabCol=-1)
 
void addParent (DotNode *n)
 
void deleteNode (DotNodeList &deletedList, SDict< DotNode > *skipNodes=0)
 
void removeChild (DotNode *n)
 
void removeParent (DotNode *n)
 
int findParent (DotNode *n)
 
void write (FTextStream &t, GraphType gt, GraphOutputFormat f, bool topDown, bool toChildren, bool backArrows)
 
void clearWriteFlag ()
 
void writeXML (FTextStream &t, bool isClassGraph)
 
void writeDocbook (FTextStream &t, bool isClassGraph)
 
void writeDEF (FTextStream &t)
 
QCString label () const
 
int number () const
 
bool isVisible () const
 
TruncState isTruncated () const
 
int distance () const
 
void renumberNodes (int &number)
 

Public Attributes

int m_subgraphId
 

Friends

class DotGfxHierarchyTable
 
class DotClassGraph
 
class DotInclDepGraph
 
class DotNodeList
 
class DotCallGraph
 
class DotGroupCollaboration
 
class DotInheritanceGraph
 
QCString computeMd5Signature (DotNode *root, GraphType gt, GraphOutputFormat f, bool lrRank, bool renderParents, bool backArrows, const QCString &title, QCString &graphStr)
 

Detailed Description

A node in a dot graph.

Friends And Related Function Documentation

§ computeMd5Signature

QCString computeMd5Signature ( DotNode root,
DotNode::GraphType  gt,
GraphOutputFormat  f,
bool  lrRank,
bool  renderParents,
bool  backArrows,
const QCString title,
QCString graphStr 
)
friend

Computes a 16 byte md5 checksum for a given dot graph. The md5 checksum is returned as a 32 character ASCII string.


The documentation for this class was generated from the following files: