Adding that I would love this upgrade. Ideally to latest at v11.1.0 which also adds architecture as a diagram type.
I think in general a planned cadence of upgrading Mermaid would be good (every 3 months or something like that?), so that Obsidian keeps up to date with latest features. Mermaid seems to be doing upgrades at a good pace, and it would be nice if we could know that Obsidian will be current withing X amount of time.
I would love to get access to architecture diagrams. I have started using them elsewhere and being able to start integrating them into my personal documentation
I would love if the new version would be v11.0.0 or newer, since that adds Packet Diagrams which is just perfect for my every day work. I hope a new mermaid version is in scope sometime in the near future <3
I would suggest sharing the code, or the specific feature that isn’t working for you. While you wait for an upgrade, someone might have a suggested workaround, or spot a syntax problem.
Or if it seems like something really important, maybe upgrading will get higher priority. Either way, I suggest giving more info about your problem.
Now that mermaid.js supports an expanded catalogue of shapes out of the box it has become my go to, but it was introduced in v11.3.0 and whatever version is in obsidian atm, is too old. The feature I’m needing but Obsidian is unable to render is this one:
Seconding this, I’m also really in need of this creating and deleting feature, without it my sequence diagrams end up with very wide graphics with lots of vertical lines for nodes that are used only twice
I want to draw flowchart with math in node value but it won’t render in Obsidian side. I don’t know when this feature is introduced to Mermaid, but I hope Obsidian would bump its Mermaid version that includes math! Pretty please
I made a “theme” for Mermaid diagrams some time ago, which is independent of my main theme, called Dune (on the same GitHub page).
The default mermaid theme colors of my plugin should be enough for most people, but if you like, download and activate the community plugin style settings (by Mgmeyers), to be able to change colors of your mermaid theme. Here’s the link:
I made this mermaid theme mainly because from a developer view, you’ve to overwrite mermaid color rules with!important to force color changes and I didn’t want to see this rule in my main theme by default.
Usually, the !important rule is needed to overwrite not properly implemented code and this isn’t a critique, but I’m talking of experience.
At the end, I’m happy to share my mermaid theme as separate plugin, so you can use it also without installing my theme, if you are already happy with
another theme. If you’re looking for a new theme instead, feel free to try out my community theme, Dune. You’re welcome
Looking forward to a better implementation (upgrade) of mermaid in Obsidian too.