I ran manually_generated_complex_diagram.py and it finished without error. I tried to edit the output dot file with bpmn.io and got the error; Text data outside of root node. Line: 35 Column: 1 Char: }