65 DotNode(
int n,
const char *lab,
const char *tip,
const char *
url,
71 const char *edgeLab=0,
72 const char *edgeURL=0,
81 bool topDown,
bool toChildren,
bool backArrows,
bool reNumber);
83 void clearWriteFlag();
85 void writeDocbook(
FTextStream &t,
bool isClassGraph);
88 int number()
const {
return m_number; }
94 void colorConnectedNodes(
int curColor);
96 bool hasNonReachableChildren,
bool reNumber=
FALSE);
100 const DotNode *findDocNode()
const;
125 friend class DotInheritanceGraph;
130 bool lrRank,
bool renderParents,
154 void createGraph(
DotNode *rootNode,
FTextStream &t,
const char *path,
const char *fileName,
int id)
const;
173 bool isTrivial()
const;
174 bool isTooBig()
const;
176 const char *path,
const char *
fileName,
const char *relPath,
177 bool TBRank=
TRUE,
bool imageMap=
TRUE,
int graphId=-1)
const;
186 bool determineVisibleNodes(
DotNode *rootNode,
int maxNodes,
bool includeParents);
187 void determineTruncatedNodes(
QList<DotNode> &queue,
bool includeParents);
189 const char *usedName,
const char *templSpec,
190 bool base,
int distance);
207 const char *path,
const char *
fileName,
const char *relPath,
208 bool writeImageMap=
TRUE,
int graphId=-1)
const;
209 bool isTrivial()
const;
210 bool isTooBig()
const;
233 const char *path,
const char *
fileName,
234 const char *relPath,
bool writeImageMap=
TRUE,
235 int graphId=-1)
const;
237 bool isTrivial()
const;
238 bool isTooBig()
const;
257 bool isTrivial()
const;
264 bool writeImageMap=
TRUE,
266 bool linkRelations=
TRUE)
const;
297 : pNStart(start), pNEnd(end), eType(type)
298 { links.setAutoDelete(
TRUE); }
311 const char *path,
const char *
fileName,
const char *relPath,
312 bool writeImageMap=
TRUE,
int graphId=-1)
const;
314 bool isTrivial()
const;
337 const char *
data()
const {
return m_str; }
338 bool isEmpty()
const {
return m_str==0 || m_str[0]==
'\0'; }
374 void addPostProcessing(
const char *
cmd,
const char *
args);
415 const QCString &figureName,
bool heightCheck);
416 int addSVGConversion(
const QCString &relPath,
bool urlOnly,
417 const QCString &context,
bool zoomable,
int graphId);
460 const QCString &relPath,
bool urlOnly,
463 const QCString &figureName,
bool heightCheck);
465 bool urlOnly,
const QCString &context,
bool zoomable,
int graphId);
489 const QCString& context,
int graphId=-1);
TruncState m_truncated
does the node have non-visible children/parents
end
while True: pbar.update(maxval-len(onlies[E][S])) #print iS, "/", len(onlies[E][S]) found = False for...
QList< EdgeInfo > * m_edgeInfo
edge info for each child
QCString m_tooltip
node's tooltip
void writeDotGraphFromFile(const char *inFile, const char *outDir, const char *outFile, GraphOutputFormat format)
const CleanupItem & cleanup() const
DotConstString m_postArgs
DotNodeList * m_rootSubgraphs
QCString computeMd5Signature(DotNode *root, DotNode::GraphType gt, GraphOutputFormat format, bool lrRank, bool renderParents, bool backArrows, const QCString &title, QCString &graphStr)
QDict< DotNode > * m_usedNodes
bool m_isRoot
indicates if this is a root node
static bool format(QChar::Decomposition tag, QString &str, int index, int len)
TruncState isTruncated() const
const std::string instance
size_t write(int, const char *, size_t)
Writes count bytes from buf to the filedescriptor fd.
QDict< DotNode > * m_usedNodes
Simplified and optimized version of QTextStream.
void generateGraphLegend(const char *path)
QDict< DotNode > * m_usedNodes
static int m_curNodeNumber
QQueue< DotRunner > m_queue
QDict< DotNode > * m_usedNodes
static void writeGraphHeader(FTextStream &t, const QCString &title=QCString())
QCString m_url
url of the node (format: remote$local)
QList< DotRunner > m_dotRuns
QList< DotNode > * m_rootNodes
DotConstString m_imageName
QList< DotNode > * m_children
list of child nodes (outgoing arrows)
void markAsTruncated(bool b=TRUE)
bool m_written
used to mark a node as written
SDict< DotFilePatcher > m_dotMaps
const char * data() const
double distance(double x1, double y1, double z1, double x2, double y2, double z2)
QList< DotNode > * m_parents
list of parent nodes (incoming arrows)
DotConstString(const DotConstString &s)
const DotNodeList * subGraphs() const
static DotManager * m_theInstance
QList< DotConstString > m_jobs
ClassDef * m_classDef
class representing this node (can be 0)
CleanupItem m_cleanupItem
static int m_curNodeNumber
static int m_curNodeNumber
static int m_curNodeNumber
Q_EXPORT char * qstrcpy(char *dst, const char *src)
bool m_hasDoc
used to mark a node as documented
bool m_deleted
used to mark a node as deleted
QCString m_label
label text
Link(const QCString lab, const QCString &u)
Edge(DotNode *start, DotNode *end, EdgeType type)
bool m_visible
is the node visible in the output
int m_distance
shortest path to the root node
void markAsVisible(bool b=TRUE)
QList< DotWorkerThread > m_workers
QWaitCondition m_bufferNotEmpty
DotConstString(const QCString &s)
QDict< DotNode > * m_usedNodes
const char * data() const
DotNode::GraphType m_graphType
QList< DotRunner::CleanupItem > m_cleanupItems
void writeDotImageMapFromFile(FTextStream &t, const QCString &inFile, const QCString &outDir, const QCString &relPath, const QCString &baseName, const QCString &context, int graphId=-1)