GNOME Bugzilla – Bug 592626
MAX_DOT_GRAPH_DEPTH
Last modified: 2013-05-19 12:36:50 UTC
It appears to me that the MAX_DOT_GRAPH_DEPTH is off by 1. For example, if I set it to 1, the collaboration diagram shows no edges; if I set it to 2, it shows 1 level of edges; etc. This seems inconsistent with comments in latest Doxyfile. Perhaps I don't understand what is meant by edges. I assume they are the same as paths or arcs.
Created attachment 241946 [details] [review] PATCH: correct distance counting in callre graphs When generating a graph with MAX_DOT_GRAPH_DEPTH set to 1 only the nod itself is shown, with MAX_DOT_GRAPH_DEPTH set to 2 only the node plus its neighbors, so indeed not the edges/ connections are counted but the nodes. This patch corrects this problem. When MAX_DOT_GRAPH_DEPTH is set to 1 the node itself plus the neighbor nodes are shown. In case MAX_DOT_GRAPH_DEPTH is set to 0 the entire graph is still shown. the variable m_maxDistance was not used and has been removed.
Thanks, I'll include the patch in the next subversion update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.4. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant.