Fix graphviz file header (#261)

The two header comments were missing trailing newlines.

This behavior is introduced by v0.18 of the graphviz Python package;
where as v0.17 did include the newline automatically.

Closes #258
This commit is contained in:
Julien Lecoeur 2021-11-26 16:05:04 +01:00 committed by KV
parent 92af90518c
commit 9dbf4538fd

View File

@ -151,8 +151,8 @@ class Harness:
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",