#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) | |
| ~DotNode () | |
| 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, bool reNumber) |
| 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 |
Public Attributes | |
| int | m_subgraphId |
Private Member Functions | |
| void | colorConnectedNodes (int curColor) |
| void | writeBox (FTextStream &t, GraphType gt, GraphOutputFormat f, bool hasNonReachableChildren, bool reNumber=FALSE) |
| void | writeArrow (FTextStream &t, GraphType gt, GraphOutputFormat f, DotNode *cn, EdgeInfo *ei, bool topDown, bool pointBack=TRUE, bool reNumber=FALSE) |
| void | setDistance (int distance) |
| const DotNode * | findDocNode () const |
| void | markAsVisible (bool b=TRUE) |
| void | markAsTruncated (bool b=TRUE) |
Private Attributes | |
| int | m_number |
| QCString | m_label |
| label text More... | |
| QCString | m_tooltip |
| node's tooltip More... | |
| QCString | m_url |
| url of the node (format: remote$local) More... | |
| QList< DotNode > * | m_parents |
| list of parent nodes (incoming arrows) More... | |
| QList< DotNode > * | m_children |
| list of child nodes (outgoing arrows) More... | |
| QList< EdgeInfo > * | m_edgeInfo |
| edge info for each child More... | |
| bool | m_deleted |
| used to mark a node as deleted More... | |
| bool | m_written |
| used to mark a node as written More... | |
| bool | m_hasDoc |
| used to mark a node as documented More... | |
| bool | m_isRoot |
| indicates if this is a root node More... | |
| ClassDef * | m_classDef |
| class representing this node (can be 0) More... | |
| bool | m_visible |
| is the node visible in the output More... | |
| TruncState | m_truncated |
| does the node have non-visible children/parents More... | |
| int | m_distance |
| shortest path to the root node More... | |
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) |
| enum DotNode::GraphType |
| enum DotNode::TruncState |
| DotNode::DotNode | ( | int | n, |
| const char * | lab, | ||
| const char * | tip, | ||
| const char * | url, | ||
| bool | rootNode = FALSE, |
||
| ClassDef * | cd = 0 |
||
| ) |
Definition at line 1452 of file dot.cpp.
| DotNode::~DotNode | ( | ) |
| void DotNode::addChild | ( | DotNode * | n, |
| int | edgeColor = EdgeInfo::Purple, |
||
| int | edgeStyle = EdgeInfo::Solid, |
||
| const char * | edgeLab = 0, |
||
| const char * | edgeURL = 0, |
||
| int | edgeLabCol = -1 |
||
| ) |
| void DotNode::addParent | ( | DotNode * | n | ) |
| void DotNode::clearWriteFlag | ( | ) |
Definition at line 2168 of file dot.cpp.
|
private |
Definition at line 2197 of file dot.cpp.
| void DotNode::deleteNode | ( | DotNodeList & | deletedList, |
| SDict< DotNode > * | skipNodes = 0 |
||
| ) |
Definition at line 1526 of file dot.cpp.
|
private |
Definition at line 2232 of file dot.cpp.
|
inline |
|
inline |
| void DotNode::removeChild | ( | DotNode * | n | ) |
| void DotNode::removeParent | ( | DotNode * | n | ) |
| void DotNode::write | ( | FTextStream & | t, |
| GraphType | gt, | ||
| GraphOutputFormat | f, | ||
| bool | topDown, | ||
| bool | toChildren, | ||
| bool | backArrows, | ||
| bool | reNumber | ||
| ) |
Definition at line 1906 of file dot.cpp.
|
private |
Definition at line 1854 of file dot.cpp.
|
private |
Definition at line 1722 of file dot.cpp.
| void DotNode::writeDEF | ( | FTextStream & | t | ) |
Definition at line 2103 of file dot.cpp.
| void DotNode::writeDocbook | ( | FTextStream & | t, |
| bool | isClassGraph | ||
| ) |
Definition at line 2033 of file dot.cpp.
| void DotNode::writeXML | ( | FTextStream & | t, |
| bool | isClassGraph | ||
| ) |
Definition at line 1964 of file dot.cpp.
|
friend |
Computes a 16 byte md5 checksum for a given dot graph. The md5 checksum is returned as a 32 character ASCII string.
Definition at line 3018 of file dot.cpp.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.11