diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-12-13 18:59:17 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-12-13 18:59:17 (GMT) |
commit | d048df9811a8686d93dc28f275a1c5c575833669 (patch) | |
tree | 024124085a492939d5ad3d3b60fbac43f928b925 /src/groupdef.cpp | |
parent | 71de527ef4ec4b221eecfe02450548390fc03cf4 (diff) | |
download | Doxygen-d048df9811a8686d93dc28f275a1c5c575833669.zip Doxygen-d048df9811a8686d93dc28f275a1c5c575833669.tar.gz Doxygen-d048df9811a8686d93dc28f275a1c5c575833669.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); |