diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-03-30 19:53:04 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-03-30 19:53:04 (GMT) |
commit | 535ddc3bb7b6a6d4b50855a06838c11b84a9f3fd (patch) | |
tree | dcb3e2354df7b19ebd9458aca416a61d4922bc5c /src/config.l | |
parent | 5eeee0ed4c1692c9a367a1232b74e44f1c4a460a (diff) | |
download | Doxygen-535ddc3bb7b6a6d4b50855a06838c11b84a9f3fd.zip Doxygen-535ddc3bb7b6a6d4b50855a06838c11b84a9f3fd.tar.gz Doxygen-535ddc3bb7b6a6d4b50855a06838c11b84a9f3fd.tar.bz2 |
Release-1.3-rc3-20030330
Diffstat (limited to 'src/config.l')
-rw-r--r-- | src/config.l | 18 |
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", |