summaryrefslogtreecommitdiffstats
path: root/src/dot.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-03-05 18:16:47 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2000-03-05 18:16:47 (GMT)
commit000241f7603af61328b25cd9a9defc40be43e558 (patch)
treefea55c7f521b9b8d4c7cdecc6579109f17cae89a /src/dot.h
parent75cfc919c930dc2a5c9e6770d6b1e7b09e5e8883 (diff)
downloadDoxygen-000241f7603af61328b25cd9a9defc40be43e558.zip
Doxygen-000241f7603af61328b25cd9a9defc40be43e558.tar.gz
Doxygen-000241f7603af61328b25cd9a9defc40be43e558.tar.bz2
Release_1.1.0-20000305
Diffstat (limited to 'src/dot.h')
-rw-r--r--src/dot.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/dot.h b/src/dot.h
index d0c215d..c8e8f33 100644
--- a/src/dot.h
+++ b/src/dot.h
@@ -59,13 +59,15 @@ class DotNode
void removeChild(DotNode *n);
void removeParent(DotNode *n);
int number() const { return m_number; }
- void write(QTextStream &t,int maxDistance=1000);
+ void write(QTextStream &t,bool topDown,int maxDistance=1000);
int m_subgraphId;
void clearWriteFlag();
private:
void colorConnectedNodes(int curColor);
- const DotNode *findRoot() const; // only works for acyclic graphs!
+ void writeBox(QTextStream &t,bool hasNonReachableChildren);
+ void writeArrow(QTextStream &t,DotNode *cn,EdgeInfo *ei,bool topDown);
+ const DotNode *findDocNode() const; // only works for acyclic graphs!
int m_number;
QCString m_label; //!< label text
QCString m_url; //!< url of the node (format: remove$local)
@@ -74,6 +76,7 @@ class DotNode
QList<EdgeInfo> *m_edgeInfo; //!< edge info for each child
bool m_deleted; //!< used to mark a node as deleted
bool m_written; //!< used to mark a node as written
+ bool m_hasDoc; //!< used to mark a node as documented
int m_distance; //!< distance to the root node
bool m_isRoot; //!< indicates if this is a root node
};
@@ -86,7 +89,7 @@ class DotGfxHierarchyTable
void writeGraph(QTextStream &t,const char *path);
private:
- void addHierarchy(DotNode *n,ClassDef *cd);
+ void addHierarchy(DotNode *n,ClassDef *cd,bool hide);
QList<DotNode> *m_rootNodes;
QDict<DotNode> *m_usedNodes;