浏览该文件的文档.
80 bool topDown,
bool toChildren,
bool backArrows)
const;
85 bool hasNonReachableChildren)
const;
87 const EdgeInfo *ei,
bool topDown,
bool pointBack=
TRUE)
const;
void writeXML(TextStream &t, bool isClassGraph) const
bool m_deleted
used to mark a node as deleted
void addChild(DotNode *n, int edgeColor=EdgeInfo::Purple, int edgeStyle=EdgeInfo::Solid, const QCString &edgeLab=QCString(), const QCString &edgeURL=QCString(), int edgeLabCol=-1)
void markHasDocumentation()
const DotNodeRefVector & parents() const
void setDistance(int distance)
void write(TextStream &t, GraphType gt, GraphOutputFormat f, bool topDown, bool toChildren, bool backArrows) const
const ClassDef * m_classDef
class representing this node (can be 0)
void markAsTruncated(bool b=TRUE)
void writeDEF(TextStream &t) const
EdgeInfo(int color, int style, const QCString &lab, const QCString &url, int labColor)
static void deleteNodes(DotNode *node)
DotNode(int n, const QCString &lab, const QCString &tip, const QCString &url, bool rootNode=FALSE, const ClassDef *cd=0)
void addParent(DotNode *n)
int findParent(DotNode *n)
bool isRenumbered() const
Text streaming class that buffers data.
void markAsVisible(bool b=TRUE)
void colorConnectedNodes(int curColor)
std::vector< EdgeInfo > EdgeInfoVector
void removeParent(DotNode *n)
void writeDocbook(TextStream &t, bool isClassGraph) const
bool m_written
used to mark a node as written
A abstract class representing of a compound symbol.
bool m_renumbered
indicates if the node has been renumbered (to prevent endless loops)
void writeBox(TextStream &t, GraphType gt, GraphOutputFormat f, bool hasNonReachableChildren) const
QCString m_tooltip
node's tooltip
TruncState isTruncated() const
QCString m_url
url of the node (format: remote$local)
const EdgeInfoVector & edgeInfo() const
void writeArrow(TextStream &t, GraphType gt, GraphOutputFormat f, const DotNode *cn, const EdgeInfo *ei, bool topDown, bool pointBack=TRUE) const
void setSubgraphId(int id)
Attributes of an edge of a dot graph
void removeChild(DotNode *n)
TruncState m_truncated
does the node have non-visible children/parents
bool m_hasDoc
used to mark a node as documented
bool m_isRoot
indicates if this is a root node
int m_distance
shortest path to the root node
EdgeInfoVector m_edgeInfo
edge info for each child
void renumberNodes(int &number)
bool m_visible
is the node visible in the output
bool hasDocumentation() const
static QCString convertLabel(const QCString &l)
DotNodeRefVector m_children
list of child nodes (outgoing arrows)
void deleteNode(DotNodeRefVector &deletedList)
DotNodeRefVector m_parents
list of parent nodes (incoming arrows)
std::vector< DotNode * > DotNodeRefVector
QCString m_label
label text
const DotNodeRefVector & children() const
This is an alternative implementation of QCString.