浏览该文件的文档.
36 for (
const auto &rmd : refs)
38 if (rmd->showInCallGraph())
54 name = rmd->getOuterScope()==
m_scope ?
55 rmd->
name() : rmd->qualifiedName();
59 name = rmd->qualifiedName();
61 QCString tooltip = rmd->briefDescriptionAsTooltip();
82 while (!queue.empty() && maxNodes>0)
101 while (!queue.empty())
107 bool truncated =
FALSE;
108 for (
const auto &dn : n->
children())
110 if (!dn->isVisible())
150 openNodeQueue.clear();
189 const QCString &relPath,
bool generateImageMap,
192 return DotGraph::writeGraph(out, graphFormat, textFormat, path, fileName, relPath, generateImageMap, graphId);
213 for (
const auto &rmd : refs)
215 if (rmd->showInCallGraph())
static void computeGraph(DotNode *root, GraphType gt, GraphOutputFormat format, const QCString &rank, bool renderParents, bool backArrows, const QCString &title, QCString &graphStr)
void addChild(DotNode *n, int edgeColor=EdgeInfo::Purple, int edgeStyle=EdgeInfo::Solid, const QCString &edgeLab=QCString(), const QCString &edgeURL=QCString(), int edgeLabCol=-1)
virtual QCString getBaseName() const
void setDistance(int distance)
static QCString getUniqueId(const MemberDef *md)
void markAsTruncated(bool b=TRUE)
virtual const MemberVector & getReferencedByMembers() const =0
static void deleteNodes(DotNode *node)
void addParent(DotNode *n)
int getNextNodeNumber()
returns node numbers.
Text streaming class that buffers data.
virtual QCString getReference() const =0
void determineTruncatedNodes(DotNodeDeque &queue)
void markAsVisible(bool b=TRUE)
virtual SrcLangExt getLanguage() const =0
Returns the programming language this definition was written in.
DotCallGraph(const MemberDef *md, bool inverse)
virtual QCString anchor() const =0
A model of a class/file/namespace member symbol.
void determineVisibleNodes(DotNodeDeque &queue, int &maxNodes)
#define Config_getInt(name)
virtual void computeTheGraph()
virtual const MemberVector & getReferencesMembers() const =0
virtual QCString name() const =0
GraphOutputFormat m_graphFormat
TruncState isTruncated() const
QCString writeGraph(TextStream &t, GraphOutputFormat gf, EmbeddedOutputFormat ef, const QCString &path, const QCString &fileName, const QCString &relPath, bool writeImageMap=TRUE, int graphId=-1)
virtual MemberDef * memberDefinition() const =0
QCString linkToText(SrcLangExt lang, const QCString &link, bool isFileName)
virtual QCString qualifiedName() const =0
virtual QCString getOutputFileBase() const =0
#define Config_getBool(name)
QCString writeGraph(TextStream &t, GraphOutputFormat gf, EmbeddedOutputFormat ef, const QCString &path, const QCString &fileName, const QCString &relPath, bool writeImageMap=TRUE, int graphId=-1)
const Definition * m_scope
virtual Definition * getOuterScope() const =0
void buildGraph(DotNode *n, const MemberDef *md, int distance)
virtual QCString briefDescriptionAsTooltip() const =0
A bunch of utility functions.
virtual QCString getMapLabel() const
const DotNodeRefVector & children() const
This is an alternative implementation of QCString.