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

image

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

Actual result

image

Environment

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

Additional information

Source for example: https://mermaid-js.github.io/mermaid/diagrams-and-syntax-and-examples/flowchart.html

probably an upstream bug

we updated mermaid. should be fixed.