diff options
author | Alexandre Salconi <asalconi@cimeq.qc.ca> | 2020-09-29 20:29:49 (GMT) |
---|---|---|
committer | Alexandre Salconi <asalconi@cimeq.qc.ca> | 2020-09-29 20:29:49 (GMT) |
commit | 78f57f623c45c92f4fb2740300b44b9b68c42bcc (patch) | |
tree | 80d3b39a7663d922b80b220be795b9d837fb1bd0 | |
parent | 1263d3085da9e2c8fb8f42ea98c107347efb529f (diff) | |
download | Doxygen-78f57f623c45c92f4fb2740300b44b9b68c42bcc.zip Doxygen-78f57f623c45c92f4fb2740300b44b9b68c42bcc.tar.gz Doxygen-78f57f623c45c92f4fb2740300b44b9b68c42bcc.tar.bz2 |
add variable for the fold lenght
-rw-r--r-- | Doxyfile | 1 | ||||
-rw-r--r-- | src/config.xml | 7 | ||||
-rw-r--r-- | src/dotnode.cpp | 2 |
3 files changed, 9 insertions, 1 deletions
@@ -328,3 +328,4 @@ DOT_TRANSPARENT = NO DOT_MULTI_TARGETS = NO GENERATE_LEGEND = YES DOT_CLEANUP = NO +DOT_MAX_FOLD = 17 diff --git a/src/config.xml b/src/config.xml index b3718be..474993b 100644 --- a/src/config.xml +++ b/src/config.xml @@ -3661,6 +3661,13 @@ remove the intermediate dot files that are used to generate the various graphs. ]]> </docs> </option> + <option type='int' id='DOT_MAX_FOLD' defval='17' minval='0' maxval='1000' depends='HAVE_DOT'> + <docs> +<![CDATA[ + The \c DOT_MAX_FOLD tag can be used to set the length to fold text of dot graphs. +]]> + </docs> + </option> <option type='obsolete' id='USE_WINDOWS_ENCODING'/> <option type='obsolete' id='DETAILS_AT_TOP'/> <option type='obsolete' id='QTHELP_FILE'/> diff --git a/src/dotnode.cpp b/src/dotnode.cpp index 84ba130..7d71168 100644 --- a/src/dotnode.cpp +++ b/src/dotnode.cpp @@ -187,7 +187,7 @@ QCString DotNode::convertLabel(const QCString &l) int len=p.length(); int charsLeft=len; int sinceLast=0; - int foldLen=117; // ideal text length + int foldLen = Config_getInt(DOT_MAX_FOLD); // ideal text length while (idx < p.length()) { c = p[idx++]; |