72 static QCString
convertLabel(
const QCString& ,
bool htmlLike=
false);
73 DotNode(DotGraph *graph,
const QCString &lab,
const QCString &tip,
const QCString &url,
74 bool rootNode=
FALSE,
const ClassDef *cd=
nullptr);
81 const QCString &edgeLab=QCString(),
82 const QCString &edgeURL=QCString(),
91 bool topDown,
bool toChildren,
bool backArrows);
92 void writeXML(TextStream &t,
bool isClassGraph)
const;
93 void writeDocbook(TextStream &t,
bool isClassGraph)
const;
98 bool hasNonReachableChildren)
const;
100 const EdgeInfo *ei,
bool topDown,
bool pointBack=
TRUE)
const;
A abstract class representing of a compound symbol.
void writeDEF(TextStream &t) const
int findParent(DotNode *n)
void writeUrl(TextStream &t) const
QCString m_tooltip
node's tooltip
void setDistance(int distance)
void markAsVisible(bool b=TRUE)
void write(TextStream &t, GraphType gt, GraphOutputFormat f, bool topDown, bool toChildren, bool backArrows)
bool m_isRoot
indicates if this is a root node
void removeParent(DotNode *n)
QCString m_label
label text
const EdgeInfoVector & edgeInfo() const
bool m_hasDoc
used to mark a node as documented
void writeBox(TextStream &t, GraphType gt, GraphOutputFormat f, bool hasNonReachableChildren) const
TruncState m_truncated
does the node have non-visible children/parents
DotNode(DotGraph *graph, const QCString &lab, const QCString &tip, const QCString &url, bool rootNode=FALSE, const ClassDef *cd=nullptr)
void writeDocbook(TextStream &t, bool isClassGraph) const
void renumberNodes(int &number)
bool m_written
used to mark a node as written
DotNode & markAsTruncated(bool b=TRUE)
void setSubgraphId(int id)
void removeChild(DotNode *n)
static void deleteNodes(DotNode *node)
static QCString convertLabel(const QCString &, bool htmlLike=false)
EdgeInfoVector m_edgeInfo
edge info for each child
bool isRenumbered() const
int m_distance
shortest path to the root node
bool m_renumbered
indicates if the node has been renumbered (to prevent endless loops)
DotNode & markHasDocumentation()
void addParent(DotNode *n)
DotNodeRefVector m_parents
list of parent nodes (incoming arrows)
bool m_visible
is the node visible in the output
void colorConnectedNodes(int curColor)
DotNodeRefVector m_children
list of child nodes (outgoing arrows)
bool hasDocumentation() const
void addChild(DotNode *n, EdgeInfo::Colors edgeColor=EdgeInfo::Purple, EdgeInfo::Styles edgeStyle=EdgeInfo::Solid, const QCString &edgeLab=QCString(), const QCString &edgeURL=QCString(), int edgeLabCol=-1)
const DotNodeRefVector & parents() const
const ClassDef * m_classDef
class representing this node (can be 0)
static constexpr auto placeholderUrl
const DotNodeRefVector & children() const
TruncState isTruncated() const
bool m_deleted
used to mark a node as deleted
DotNode & setNodeId(int number)
void deleteNode(DotNodeRefVector &deletedList)
void writeLabel(TextStream &t, GraphType gt) const
void writeArrow(TextStream &t, GraphType gt, GraphOutputFormat f, const DotNode *cn, const EdgeInfo *ei, bool topDown, bool pointBack=TRUE) const
void writeXML(TextStream &t, bool isClassGraph) const
QCString m_url
url of the node (format: remote$local)
static constexpr Colors protectionToColor(Protection prot)
EdgeInfo(Colors color, Styles style, const QCString &lab, const QCString &url, int labColor)
This is an alternative implementation of QCString.
Text streaming class that buffers data.
std::vector< DotNode * > DotNodeRefVector
QCString escapeTooltip(const QCString &tooltip)
std::vector< EdgeInfo > EdgeInfoVector
This file contains a number of basic enums and types.
Protection
Protection level of members.