]> granicus.if.org Git - graphviz/commitdiff
Unify code for getting expansion factor for overlap removal and spline routing;
authorerg <devnull@localhost>
Thu, 17 Feb 2005 15:34:31 +0000 (15:34 +0000)
committererg <devnull@localhost>
Thu, 17 Feb 2005 15:34:31 +0000 (15:34 +0000)
move some verbose messages lesser importance;
separate node overlap removal into getting the parameter and applying it to
allow fdp to use a prefix on "overlap" for 2 passes;
fix some warnings.

lib/neatogen/legal.c

index 43cf485d91f36f1cff433e299f33fb4ee24b3873..2e9862409d24d89fff2c399f9a0e47bc407caa1d 100644 (file)
@@ -74,7 +74,7 @@ int Plegal_arrangement(Ppoly_t ** polys, int n_polys)
                ((vsd.x == avsd.x) &&
                 !EQ_PT(vsd, ilist[i]) && !EQ_PT(avsd, ilist[i]))) {
                rv = 0;
-               if (Verbose) {
+               if (Verbose > 1) {
                    fprintf(stderr, "\nintersection %d at %.3f %.3f\n",
                            i, ilist[i].x, ilist[i].y);
                    fprintf(stderr, "seg#1 : (%.3f, %.3f) (%.3f, %.3f)\n",