]> granicus.if.org Git - graphviz/commitdiff
make gv.layout in script interface do the gvFreeLayout()
authorellson <devnull@localhost>
Tue, 28 Feb 2006 19:07:12 +0000 (19:07 +0000)
committerellson <devnull@localhost>
Tue, 28 Feb 2006 19:07:12 +0000 (19:07 +0000)
tclpkg/gv/gv.cpp

index 2eac1a7cacddfcca8d398f0df46d0928b4749f18..742866d96466412485c278e40d167d7157999bfb 100644 (file)
@@ -827,6 +827,7 @@ void layout(Agraph_t *g, char *engine)
 {
     int err;
 
+    err = gvFreeLayout(gvc, g);
     err = gvLayout(gvc, g, engine);
 }