From 7533064c1a5918ce41dcc1391b5cb8bfc8375a25 Mon Sep 17 00:00:00 2001 From: Peter Landgren Date: Thu, 28 Jan 2010 15:21:13 +0000 Subject: [PATCH] Fix of issue 3531. svn: r14157 --- src/ReportBase/_GraphvizReportDialog.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) 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(';')