From: erg Date: Wed, 2 May 2007 14:44:09 +0000 (+0000) Subject: Fix bug 1123 X-Git-Tag: LAST_LIBGRAPH~32^2~5593 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1a8bda7a0ec639f944fd608a8a16efe0db78e75c;p=graphviz Fix bug 1123 --- diff --git a/cmd/dotty/dotty.lefty b/cmd/dotty/dotty.lefty index dc888db8e..f46be227c 100644 --- a/cmd/dotty/dotty.lefty +++ b/cmd/dotty/dotty.lefty @@ -318,7 +318,7 @@ dotty.protogt.erasegraph = function (gt, protogt, protovt) { gt.undoarray = ['level' = 0; 'entries' = [];]; }; dotty.protogt.layoutgraph = function (gt) { - if (gt.graph.graphattr.bb) { + if (gt.graph.graphattr.xdotversion) { gt.unpacklayout (gt, gt.graph); gt.setviewsize (gt.views, gt.graph.rect); gt.redrawgraph (gt, gt.views);