Mermaid plug-in fails to render longer edges properly

Steps to reproduce

Mermaid graph, literally from the Mermaid documentation examples:

graph TD
    A[Start] --> B{Is it?};
    B -->|Yes| C[OK];
    C --> D[Rethink];
    D --> B;
    B ---> |No| E[End];

Expected result


This, but with the No path extended to project down the right beyond Rethink.

Actual result



  • Operating system: Windows 10
  • Obsidian version: v0.8.15

Additional information

Source for example:

probably an upstream bug

we updated mermaid. should be fixed.