Mermaid arrows are a mess

Steps to reproduce

Open a new document and create a mermaid graph with linked nodes. Here’s an example.


flowchart LR

A --- B[No arrows] 
C <---> D[2 arrows]
E ---> F[right arrow]
G === H[thick no arrow]

Did you follow the troubleshooting guide? [Y/N]

Yes

Expected result

The arrows should show up as in the captions, or the mermaid sandbox.

Actual result

The arrows are messed up, present where they shouldn’t be in the basic line examples.

Environment

SYSTEM INFO:
Obsidian version: v1.9.10
Installer version: v1.9.10
Operating system: Darwin Kernel Version 22.6.0: Mon Jun 24 01:20:40 PDT 2024; root:xnu-8796.141.3.706.2~1/RELEASE_ARM64_T8112 22.6.0
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

Could be similar to this :woman_shrugging:

Yeah, looks like it. Thanks. The latest mermaid doesn’t show it, as I noted, so it might simply be a matter of upgrading the version in Obsidian.

Always helpful to use the right terminology in your bug reports to make them findable! :slight_smile:

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.