erlayout

Fewest possible line crossings, with a proof.
Paste a schema and press Lay out.