summaryrefslogtreecommitdiffstats
path: root/src/filedef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-11-16 14:49:20 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-11-16 14:49:20 (GMT)
commit7acba2f316a6e8f02364d76ab96b7ff9e739aec1 (patch)
treee32f6e68ecdecedc574a9382aef37f1db02c382e /src/filedef.cpp
parente43827ff91188fa49feec5ba5e5f4cbd825b164f (diff)
downloadDoxygen-7acba2f316a6e8f02364d76ab96b7ff9e739aec1.zip
Doxygen-7acba2f316a6e8f02364d76ab96b7ff9e739aec1.tar.gz
Doxygen-7acba2f316a6e8f02364d76ab96b7ff9e739aec1.tar.bz2
issue #7348 Better warning in case a graph would have been to large
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r--src/filedef.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp
index f00c82b..346fb62 100644
--- a/src/filedef.cpp
+++ b/src/filedef.cpp
@@ -664,7 +664,8 @@ void FileDefImpl::writeIncludeGraph(OutputList &ol)
DotInclDepGraph incDepGraph(this,FALSE);
if (incDepGraph.isTooBig())
{
- warn_uncond("Include graph for '%s' not generated, too many nodes. Consider increasing DOT_GRAPH_MAX_NODES.\n",name().data());
+ warn_uncond("Include graph for '%s' not generated, too many nodes (%d), threshold is %d. Consider increasing DOT_GRAPH_MAX_NODES.\n",
+ name().data(), incDepGraph.numNodes(), Config_getInt(DOT_GRAPH_MAX_NODES));
}
else if (!incDepGraph.isTrivial())
{
@@ -688,7 +689,8 @@ void FileDefImpl::writeIncludedByGraph(OutputList &ol)
DotInclDepGraph incDepGraph(this,TRUE);
if (incDepGraph.isTooBig())
{
- warn_uncond("Included by graph for '%s' not generated, too many nodes. Consider increasing DOT_GRAPH_MAX_NODES.\n",name().data());
+ warn_uncond("Included by graph for '%s' not generated, too many nodes (%d), threshold is %d. Consider increasing DOT_GRAPH_MAX_NODES.\n",
+ name().data(), incDepGraph.numNodes(), Config_getInt(DOT_GRAPH_MAX_NODES));
}
else if (!incDepGraph.isTrivial())
{