From: Mark Hansen Date: Wed, 21 Oct 2020 10:16:29 +0000 (+1100) Subject: Split nslimit and nslimit1 attributes X-Git-Tag: 2.46.0~20^2^2~32^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b87350d3690df9edf1a8293b1e4f810d7de7797;p=graphviz Split nslimit and nslimit1 attributes They're the only attributes that don't already have their own sections, they complicate parsing and emitting, and on balance I think they're better explained separately (but next to each other). Closes #64 --- diff --git a/doc/info/attrs.html b/doc/info/attrs.html index e234164aa..55f393760 100644 --- a/doc/info/attrs.html +++ b/doc/info/attrs.html @@ -345,7 +345,8 @@ of the layout programs. Gbool falseneato only nslimit -
nslimit1 +Gdoubledot only + nslimit1 Gdoubledot only ordering GNstring""dot only @@ -1417,11 +1418,17 @@ of the layout programs. To avoid this translation, set notranslate to true.
nslimit -,
nslimit1
Used to set number of iterations in network simplex applications. nslimit is used in - computing node x coordinates, nslimit1 for ranking nodes. - If defined, # iterations = nslimit(1) * # nodes; + computing node x coordinates. + If defined, # iterations = nslimit * # nodes; + otherwise, # iterations = MAXINT. + +
nslimit1 +
Used to set number of iterations in + network simplex applications. + nslimit1 is used for ranking nodes. + If defined, # iterations = nslimit1 * # nodes; otherwise, # iterations = MAXINT.
ordering diff --git a/doc/infosrc/attrs b/doc/infosrc/attrs index 9d46c5661..d652c0c65 100644 --- a/doc/infosrc/attrs +++ b/doc/infosrc/attrs @@ -847,11 +847,17 @@ corresponding to 0 degrees. NOTE: Since the attribute is evaluated first By default, the final layout is translated so that the lower-left corner of the bounding box is at the origin. This can be annoying if some nodes are pinned or if the user runs neato -n. To avoid this translation, set notranslate to true. -:nslimit/nslimit1:G:double; dot +:nslimit:G:double; dot Used to set number of iterations in network simplex applications. nslimit is used in -computing node x coordinates, nslimit1 for ranking nodes. -If defined, # iterations = nslimit(1) * # nodes; +computing node x coordinates. +If defined, # iterations = nslimit * # nodes; +otherwise, # iterations = MAXINT. +:nslimit1:G:double; dot +Used to set number of iterations in +network simplex applications. +nslimit1 is used for ranking nodes. +If defined, # iterations = nslimit1 * # nodes; otherwise, # iterations = MAXINT. :ordering:GN:string:""; dot If the value of the attribute is "out", then