Re-enable double line despite bug

This commit is contained in:
Daniel Rojas 2020-10-24 15:12:21 +02:00
parent 9ddb3afe6e
commit 29b38364b3

View File

@ -360,13 +360,12 @@ class Harness:
elif mate.shape[-1] == '>': elif mate.shape[-1] == '>':
dir = 'forward' dir = 'forward'
else: else:
dir = 'none' # should not happen dir = 'none'
if isinstance(mate, MatePin): if isinstance(mate, MatePin):
color = '#000000' color = '#000000'
elif isinstance(mate, MateComponent): elif isinstance(mate, MateComponent):
# color = '#000000:#ffffff:#000000' # GraphViz bug? 'back' and 'both' do not work with multicolor edges color = '#000000:#ffffff:#000000' # GraphViz bug? 'back' and 'both' do not work with multicolor edges
color = '#000000'
else: else:
raise Exception(f'{mate} is an unknown mate') raise Exception(f'{mate} is an unknown mate')