summaryrefslogtreecommitdiffstats
path: root/src/config.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2003-03-30 19:53:04 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2003-03-30 19:53:04 (GMT)
commitb69146af8dce22431fc50dc3fcea6c7fd5fb1063 (patch)
treedcb3e2354df7b19ebd9458aca416a61d4922bc5c /src/config.l
parentfc0deb3d8c9dad128e1d5f5c90a5dfc0b9d60eea (diff)
downloadDoxygen-b69146af8dce22431fc50dc3fcea6c7fd5fb1063.zip
Doxygen-b69146af8dce22431fc50dc3fcea6c7fd5fb1063.tar.gz
Doxygen-b69146af8dce22431fc50dc3fcea6c7fd5fb1063.tar.bz2
Release-1.3-rc3-20030330
Diffstat (limited to 'src/config.l')
-rw-r--r--src/config.l18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/config.l b/src/config.l
index 7823412..b569d5d 100644
--- a/src/config.l
+++ b/src/config.l
@@ -1217,6 +1217,12 @@ void Config::check()
}
PUTENV(buf);
}
+
+ int &depth = Config_getInt("MAX_DOT_GRAPH_DEPTH");
+ if (depth==0)
+ {
+ depth=1000;
+ }
if (Config_getBool("OPTIMIZE_OUTPUT_JAVA") && Config_getBool("INLINE_INFO"))
{
@@ -2518,6 +2524,18 @@ void Config::create()
"large images. \n",
100,30000,1024
);
+ ci = addInt(
+ "MAX_DOT_GRAPH_DEPTH",
+ "The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the \n"
+ "graphs generated by dot. A depth value of 3 means that only nodes reachable \n"
+ "from the root by following a path via at most 3 edges will be shown. Nodes that \n"
+ "lay further from the root node will be omitted. Note that setting this option to \n"
+ "1 or 2 may greatly reduce the computation time needed for large code bases. Also \n"
+ "note that a graph may be further truncated if the graph's image dimensions are \n"
+ "not sufficient to fit the graph (see MAX_DOT_GRAPH_WIDTH and MAX_DOT_GRAPH_HEIGHT). \n"
+ "If 0 is used fot the depth value (the default), the graph is not depth constraint. \n",
+ 0,1000,0
+ );
ci->addDependency("HAVE_DOT");
cb = addBool(
"GENERATE_LEGEND",