Fix of issue 3531.
svn: r14157
This commit is contained in:
parent
79add865ff
commit
7533064c1a
@ -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(';')
|
||||
|
Loading…
Reference in New Issue
Block a user