Graph with orthogonal edges

Thank you, I will try this. It’s indeed more work on my part, I have a program that generates the dot (in an already messy way). I’ll let you know if it’s ok.