yet another attempt to work around a long-standing graphviz bug

svn: r11727
This commit is contained in:
Stéphane Charette 2009-01-25 23:03:13 +00:00
parent f8cc962b83
commit 83fecfac74

View File

@ -206,7 +206,8 @@ class GVDocBase(BaseDoc.BaseDoc, BaseDoc.GVDoc):
self.write( ' mclimit="99";\n' ) self.write( ' mclimit="99";\n' )
self.write( ' nodesep="%.2f";\n' % self.nodesep ) self.write( ' nodesep="%.2f";\n' % self.nodesep )
self.write( ' outputorder="edgesfirst";\n' ) self.write( ' outputorder="edgesfirst";\n' )
self.write( ' page="%3.2f,%3.2f";\n' % (pwidth, pheight) ) if self.hpages != 1 or self.vpages != 1:
self.write( ' page="%3.2f,%3.2f";\n' % (pwidth, pheight) )
self.write( ' pagedir="%s";\n' % self.pagedir ) self.write( ' pagedir="%s";\n' % self.pagedir )
self.write( ' rankdir="%s";\n' % self.rankdir ) self.write( ' rankdir="%s";\n' % self.rankdir )
self.write( ' ranksep="%.2f";\n' % self.ranksep ) self.write( ' ranksep="%.2f";\n' % self.ranksep )