From: ellson Date: Tue, 18 Oct 2005 19:10:06 +0000 (+0000) Subject: Add mode field to neato verbose mode; X-Git-Tag: LAST_LIBGRAPH~32^2~7145 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a7c16ffa3743fca485840ecc1f041b304e0772b9;p=graphviz Add mode field to neato verbose mode; use #include in gvc.c for VERSION and BUILDDATE --- diff --git a/lib/gvc/gvc.c b/lib/gvc/gvc.c index 09cd2ca39..68bf4763a 100644 --- a/lib/gvc/gvc.c +++ b/lib/gvc/gvc.c @@ -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" diff --git a/lib/neatogen/neatoinit.c b/lib/neatogen/neatoinit.c index 6a0d7ba73..39a8530ce 100644 --- a/lib/neatogen/neatoinit.c +++ b/lib/neatogen/neatoinit.c @@ -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(); }