Skip to content

Commit

Permalink
Fix graphviz file header
Browse files Browse the repository at this point in the history
The two header comments were missing an endline.

Closes #258
  • Loading branch information
jlecoeur authored and formatc1702 committed Nov 27, 2021
1 parent 7f33517 commit 9af0cb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wireviz/Harness.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ def connect(self, from_name: str, from_pin: (int, str), via_name: str, via_wire:

def create_graph(self) -> Graph:
dot = Graph()
dot.body.append(f'// Graph generated by {APP_NAME} {__version__}')
dot.body.append(f'// {APP_URL}')
dot.body.append(f'// Graph generated by {APP_NAME} {__version__}\n')
dot.body.append(f'// {APP_URL}\n')
dot.attr('graph', rankdir='LR',
ranksep='2',
bgcolor=wv_colors.translate_color(self.options.bgcolor, "HEX"),
Expand Down

0 comments on commit 9af0cb8

Please sign in to comment.