doxygen
Public Types | Public Member Functions | Static Public Member Functions | List of all members
DotNode Class Reference

A node in a dot graph. More...

#include <dotnode.h>

Public Types

enum  TruncState { Unknown, Truncated, Untruncated }
 

Public Member Functions

 DotNode (int n, const QCString &lab, const QCString &tip, const QCString &url, bool rootNode=FALSE, const ClassDef *cd=0)
 
void addChild (DotNode *n, int edgeColor=EdgeInfo::Purple, int edgeStyle=EdgeInfo::Solid, const QCString &edgeLab=QCString(), const QCString &edgeURL=QCString(), int edgeLabCol=-1)
 
void addParent (DotNode *n)
 
void deleteNode (DotNodeRefVector &deletedList)
 
void removeChild (DotNode *n)
 
void removeParent (DotNode *n)
 
int findParent (DotNode *n)
 
void write (TextStream &t, GraphType gt, GraphOutputFormat f, bool topDown, bool toChildren, bool backArrows) const
 
void writeXML (TextStream &t, bool isClassGraph) const
 
void writeDocbook (TextStream &t, bool isClassGraph) const
 
void writeDEF (TextStream &t) const
 
void writeBox (TextStream &t, GraphType gt, GraphOutputFormat f, bool hasNonReachableChildren) const
 
void writeArrow (TextStream &t, GraphType gt, GraphOutputFormat f, const DotNode *cn, const EdgeInfo *ei, bool topDown, bool pointBack=TRUE) const
 
QCString label () const
 
int number () const
 
bool isVisible () const
 
TruncState isTruncated () const
 
int distance () const
 
int subgraphId () const
 
bool isRenumbered () const
 
bool hasDocumentation () const
 
bool isWritten () const
 
void clearWriteFlag ()
 
void renumberNodes (int &number)
 
void markRenumbered ()
 
void markHasDocumentation ()
 
void setSubgraphId (int id)
 
void colorConnectedNodes (int curColor)
 
void setDistance (int distance)
 
const DotNodefindDocNode () const
 
void markAsVisible (bool b=TRUE)
 
void markAsTruncated (bool b=TRUE)
 
const DotNodeRefVector & children () const
 
const DotNodeRefVector & parents () const
 
const EdgeInfoVector & edgeInfo () const
 

Static Public Member Functions

static void deleteNodes (DotNode *node)
 
static QCString convertLabel (const QCString &l)
 

Detailed Description

A node in a dot graph.

Member Function Documentation

◆ deleteNodes()

void DotNode::deleteNodes ( DotNode node)
static

helper function that deletes all nodes in a connected graph, given one of the graph's nodes


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