Fix of issue 3531.

svn: r14157
This commit is contained in:
Peter Landgren 2010-01-28 15:21:13 +00:00
parent 79add865ff
commit 7533064c1a

View File

@ -315,7 +315,16 @@ class GVDocBase(BaseDoc, GVDoc):
self.write(' arrowhead=%s' % head) self.write(' arrowhead=%s' % head)
if tail: if tail:
self.write(' arrowtail=%s' % 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(' ]')
self.write(';') self.write(';')