Browse code

Ignore empty bb attribute inside subgraphs.

Jose.R.Fonseca authored on 26/10/2008 16:18:35
Showing 1 changed files

  • xdot.py index 8015f71..d88400c 100755
... ...
@@ -991,6 +991,9 @@ class XDotParser(DotParser):
991 991
         except KeyError:
992 992
             return
993 993
 
994
+        if not bb:
995
+            return
996
+
994 997
         xmin, ymin, xmax, ymax = map(int, bb.split(","))
995 998
 
996 999
         self.xoffset = -xmin