Mermaid click directive works in flowcharts but not graphs

We strongly recommend you to search the forum with possible keywords before submitting a new bug report. Please also try your repro steps with third-party plugins and custom CSS disabled and see if it’s still reproducible. If it’s an issue with third-party plugins or themes, try contacting the author for help. Once you’ve done the above, delete this line.

Steps to reproduce

Put this in a note.

graph LR
click E "obsidian://open?vault=Personal&file=testfile"

Expected result

Clicking the “E” node will go to “testfile” in the given vault.

Actual result

Nothing happens.


  • Operating system: Windows/Mac/Android
  • Obsidian version: latest on each (as of today)

Additional information

It does work with flowcharts, just not graphs. The following will work:

flowchart LR
click E "obsidian://open?vault=Personal&file=testfile"

This also worked previously, but seems to be broken in a newer version of obsidian.

which one?

You have this problem:

If you are tring to link to a file in the same vault, why don’t you use internal links?!?!

EDIT I just saw your help post. I understand