Mermaid does not keep your sketch positions. Use the sketch map to build the graph easily; the Mermaid result is what export actually draws. Steer it with Flow (north–south or east–west).
Sketch
Result
Mermaid result will appear here