Mermaid with Obsidian capabilities

Mermaid diagrams are great to look at, but I sometimes feel disconnected while editing them. Could we give them an interactive boost by integrating Obsidian functionality?

With notes selected via search, the click of a button could produce a rendered diagram complete with directly editable links syncing to the graph. To be clear, in this proposal, the initial Mermaid diagram would be built based on the selected note names and their links, essentially being a curated slice of the vault’s graph.

Maybe, pick-whipping from node to node would define Mermaid connections, with these added links and note/tag changes propagated throughout Obsidian. Might this all even be potentially accessible directly through hovering a note’s links and the graph’s nodes?

Thanks.

4 Likes