summaryrefslogtreecommitdiffstats
path: root/src/dot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dot.h')
-rw-r--r--src/dot.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/dot.h b/src/dot.h
index 3e5d790..5b5346c 100644
--- a/src/dot.h
+++ b/src/dot.h
@@ -286,6 +286,28 @@ class DotGroupCollaboration
QList<Edge> m_edges;
};
+/** @brief Helper class to run dot from doxygen.
+ */
+class DotRunner
+{
+ public:
+ /** Creates a runner for a dot \a file. */
+ DotRunner(const char *file);
+
+ /** Adds an additional job to the run.
+ * Performing multiple jobs one file can be faster.
+ */
+ void addJob(const char *format,const char *output);
+
+ /** Runs dot for all jobs added. */
+ bool run();
+ private:
+ QList<QCString> m_jobs;
+ QCString m_file;
+};
+
+
+
void generateGraphLegend(const char *path);
void writeDotGraphFromFile(const char *inFile,const char *outDir,
const char *outFile,GraphOutputFormat format);