From: Emden R. Gansner Date: Wed, 26 Mar 2014 21:38:56 +0000 (-0400) Subject: Wrap trace information in if (Verbose); X-Git-Tag: 2.38.0~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c1b649f184b37eb23f4de95e0b8364e542b96e02;p=graphviz Wrap trace information in if (Verbose); provide scale info. --- diff --git a/lib/neatogen/constraint.c b/lib/neatogen/constraint.c index 4ce2fc08c..711117841 100644 --- a/lib/neatogen/constraint.c +++ b/lib/neatogen/constraint.c @@ -916,7 +916,7 @@ int scAdjust(graph_t * g, int equal) free(nlist); return 0; } - fprintf(stderr, "compress %g \n", s.x); + if (Verbose) fprintf(stderr, "compress %g \n", s.x); } else { aarr = mkOverlapSet(nlist, nnodes, &m); @@ -932,6 +932,7 @@ int scAdjust(graph_t * g, int equal) s = computeScaleXY(aarr, m); } free(aarr); + if (Verbose) fprintf(stderr, "scale by %g,%g \n", s.x, s.y); } p = nlist;