diff --git a/src/ReportBase/_GraphvizReportDialog.py b/src/ReportBase/_GraphvizReportDialog.py index 0559a62fd..d01cee1cf 100644 --- a/src/ReportBase/_GraphvizReportDialog.py +++ b/src/ReportBase/_GraphvizReportDialog.py @@ -308,14 +308,23 @@ class GVDocBase(BaseDoc, GVDoc): if style or head or tail: self.write(' [') - + if style: self.write(' style=%s' % style) if head: self.write(' arrowhead=%s' % head) if tail: self.write(' arrowtail=%s' % tail) - + if head: + if tail: + self.write(' dir=both') + else: + self.write(' dir=forward') + else: + if tail: + self.write(' dir=back') + else: + self.write(' dir=none') self.write(' ]') self.write(';')