diff --git a/src/ReportBase/_GraphvizReportDialog.py b/src/ReportBase/_GraphvizReportDialog.py index 2119947c9..518e25cd7 100644 --- a/src/ReportBase/_GraphvizReportDialog.py +++ b/src/ReportBase/_GraphvizReportDialog.py @@ -160,17 +160,17 @@ class GVDocBase(BaseDoc.BaseDoc, BaseDoc.GVDoc): self.write( ' concentrate="false";\n' ) self.write( ' dpi="%d";\n' % self.dpi ) self.write( ' graph [fontsize=%d];\n' % self.fontsize ) + self.write( ' margin="%3.2f,%3.2f"; \n' % (xmargin, ymargin)) self.write( ' mclimit="99";\n' ) self.write( ' nodesep="%.2f";\n' % self.nodesep ) self.write( ' outputorder="edgesfirst";\n' ) - self.write( ' page="%3.2f,%3.2f";\n' % (pwidth, pheight) ) + self.write( '# page="%3.2f,%3.2f";\n' % (pwidth, pheight) ) # see bug report #2121 self.write( ' pagedir="%s";\n' % self.pagedir ) self.write( ' rankdir="%s";\n' % self.rankdir ) self.write( ' ranksep="%.2f";\n' % self.ranksep ) self.write( ' ratio="%s";\n' % self.ratio ) self.write( ' searchsize="100";\n' ) self.write( ' size="%3.2f,%3.2f"; \n' % (sizew, sizeh) ) - self.write( ' margin="%3.2f,%3.2f"; \n' % (xmargin, ymargin)) self.write( ' splines="true";\n' ) self.write( '\n' ) self.write( ' edge [len=0.5 style=solid arrowhead=none '