]> granicus.if.org Git - graphviz/commitdiff
Always recompute the graph's bounding box in neato -n
authorerg <devnull@localhost>
Tue, 1 Feb 2011 23:16:04 +0000 (23:16 +0000)
committererg <devnull@localhost>
Tue, 1 Feb 2011 23:16:04 +0000 (23:16 +0000)
lib/neatogen/neatoinit.c

index 894a0a1a1715e64e163415c71904045726e13590..a04f98338890f167ab6717c3e32a7f9561751127 100644 (file)
@@ -715,10 +715,12 @@ int init_nop(Agraph_t * g, int adjust)
  */
     }
 
+#if 0
     /* If g does not have a good "bb" attribute or we adjusted the nodes, 
      * compute it. 
      */
     if (!chkBB(g, G_bb) || didAdjust)
+#endif
        compute_bb(g);
 
     /* Adjust bounding box for any background */