Mermaid: Text gets cut off

Steps to reproduce

With all plugins turned off, and using the default theme, create a Mermaid chart like the following:

graph TD;

A["Long Node Name That Goes Over Edge and gets cut off"]
B["Tall Node that has<br>- a few extra lines<br>- like this one<br>- That also go over (???)"]
C["Missing padding"]

A --> B --> C

Expected result

I expected all text to be visible, with comfortable padding on both sides, like in this screenshot from mermaid.live:

image

Actual result

Screenshot from Obsidian v0.13.6, running on Windows 10:

image

Environment

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

Additional information

I looked for an existing help topic for this, but I didn’t find any. I hope this isn’t a duplicate.

post a screen recording of this happening in the help vault

Have you checked the Discord Live Preview Bug Report channel?

Hi @Dor , no I haven’t – but then I’m not using Live Preview. Do you think it’s related?

0.13.6 is the new editor.

Thanks Craig. I can repro.

Great, thanks @WhiteNoise !

will be fixed in 0.13.16

1 Like

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