diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2004-12-13 18:59:17 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2004-12-13 18:59:17 (GMT) |
commit | a17029cb0765fc41b79b3c94a28d734071f13176 (patch) | |
tree | 024124085a492939d5ad3d3b60fbac43f928b925 /src/groupdef.cpp | |
parent | 6042e1bf9a46e61bf168ed3755e896aa9ebad934 (diff) | |
download | Doxygen-a17029cb0765fc41b79b3c94a28d734071f13176.zip Doxygen-a17029cb0765fc41b79b3c94a28d734071f13176.tar.gz Doxygen-a17029cb0765fc41b79b3c94a28d734071f13176.tar.bz2 |
Release-1.3.9.1-20041213
Diffstat (limited to 'src/groupdef.cpp')
-rw-r--r-- | src/groupdef.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/groupdef.cpp b/src/groupdef.cpp index 439548c..260348c 100644 --- a/src/groupdef.cpp +++ b/src/groupdef.cpp @@ -33,6 +33,7 @@ #include "pagedef.h" #include "docparser.h" #include "searchindex.h" +#include "dot.h" GroupDef::GroupDef(const char *df,int dl,const char *na,const char *t, const char *refFileName) : Definition(df,dl,na) @@ -483,6 +484,23 @@ void GroupDef::writeDocumentation(OutputList &ol) } } + if (Config_getBool("HAVE_DOT") && Config_getBool("GROUP_GRAPHS") ) + { + DotGroupCollaboration graph(this); + if (!graph.isTrivial()) + { + msg("Generating dependency graph for group %s\n",qualifiedName().data()); + ol.pushGeneratorState(); + ol.disable(OutputGenerator::Man); + ol.newParagraph(); + ol.startGroupCollaboration(); + ol.parseText(theTranslator->trCollaborationDiagram(title)); + ol.endGroupCollaboration(graph); + ol.popGeneratorState(); + } + } + + if (Config_getBool("DETAILS_AT_TOP")) { writeDetailedDocumentation(ol); |