From e5e0d795f84b7e4fe28f1a46532775a4124b6129 Mon Sep 17 00:00:00 2001 From: albert-github Date: Wed, 23 Aug 2023 11:52:04 +0200 Subject: [PATCH] More flexible group dependency graphs regarding show / hide For call / caller / include / included by graphs it is possible to steer the graph creation process on a 1 to 1 base (commands like \callgraph and \hidecallgraph). Introducing for the group dependency graphs: ``` \groupgraph and \hidegroupgraph ``` --- doc/commands.doc | 28 ++++++++++++++++++++++++++++ src/commentscan.l | 18 ++++++++++++++++++ src/config.xml | 4 ++++ src/dotgroupcollaboration.cpp | 10 ++++++++++ src/dotgroupcollaboration.h | 2 ++ src/doxygen.cpp | 8 ++++++++ src/entry.cpp | 3 +++ src/entry.h | 1 + src/groupdef.cpp | 23 +++++++++++++++++++++-- src/groupdef.h | 3 +++ templates/general/layout_default.xml | 2 +- 11 files changed, 99 insertions(+), 3 deletions(-) diff --git a/doc/commands.doc b/doc/commands.doc index 564edcb5311..d5772210ebf 100644 --- a/doc/commands.doc +++ b/doc/commands.doc @@ -116,10 +116,12 @@ documentation: \refitem cmdfile \\file \refitem cmdfileinfo \\fileinfo \refitem cmdfn \\fn +\refitem cmdgroupgraph \\groupgraph \refitem cmdheaderfile \\headerfile \refitem cmdhidecallergraph \\hidecallergraph \refitem cmdhidecallgraph \\hidecallgraph \refitem cmdhidedirectorygraph \\hidedirectorygraph +\refitem cmdhidegroupgraph \\hidegroupgraph \refitem cmdhideincludedbygraph \\hideincludedbygraph \refitem cmdhideincludegraph \\hideincludegraph \refitem cmdhiderefby \\hiderefby @@ -515,6 +517,32 @@ Structural indicators \sa section \ref cmddirectorygraph "\\directorygraph", option \ref cfg_directory_graph "DIRECTORY_GRAPH" +
+\section cmdgroupgraph \\groupgraph + + \addindex \\groupgraph + When this command is put in a comment block of a + \ref cmddefgroup "\\defgroup" command + then doxygen will generate a group dependency graph for that group. The + group graph will be generated regardless of the value of + \ref cfg_group_graphs "GROUP_GRAPHS". + + \sa section \ref cmdhidegroupgraph "\\hidegroupgraph", + option \ref cfg_group_graphs "GROUP_GRAPHS" + +
+\section cmdhidegroupgraph \\hidegroupgraph + + \addindex \\hidegroupgraph + When this command is put in a comment block of a + \ref cmddefgroup "\\defgroup" command + then doxygen will not generate a group dependency graph for that group. The + group graph will not be generated regardless of the value of + \ref cfg_group_graphs "GROUP_GRAPHS". + + \sa section \ref cmdgroupgraph "\\groupgraph", + option \ref cfg_group_graphs "GROUP_GRAPHS" +
\section cmdqualifier \\qualifier