]> granicus.if.org Git - graphviz/commitdiff
Add mode field to neato verbose mode;
authorellson <devnull@localhost>
Tue, 18 Oct 2005 19:10:06 +0000 (19:10 +0000)
committerellson <devnull@localhost>
Tue, 18 Oct 2005 19:10:06 +0000 (19:10 +0000)
use #include <config.h> in gvc.c for VERSION and BUILDDATE

lib/gvc/gvc.c
lib/neatogen/neatoinit.c

index 09cd2ca3964289865fe44d4a8d2e08a352860dd0..68bf4763aa2f484ce0c31fea3c12422576ad652f 100644 (file)
@@ -13,6 +13,9 @@
 *        Information and Software Systems Research        *
 *              AT&T Research, Florham Park NJ             *
 **********************************************************/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
index 6a0d7ba738a1b026a42149ed93036952dd8d0524..39a8530ceb2a810d6dca4275615f004559c07ac7 100644 (file)
@@ -1022,8 +1022,8 @@ majorization(graph_t * g, int nv, int mode, int model, int dim, int steps)
        coords[i] = coords[0] + i * nv;
     }
     if (Verbose) {
-       fprintf(stderr, "model %d smart_init %d iterations %d tol %f\n",
-               model, (init == INIT_SELF), MaxIter, Epsilon);
+       fprintf(stderr, "mode %d model %d smart_init %d iterations %d tol %f\n",
+               mode, model, (init == INIT_SELF), MaxIter, Epsilon);
        fprintf(stderr, "convert graph: ");
        start_timer();
     }