ZenUML Plug for SilverBullet

Hi,

I made a plug to use ZenUML in SilverBullet.
Here is a link to the plug: silverbullet-zenuml

Now for a short introduction

ZenUML can be used to create sequence diagrams, like:

mermaid actually supports ZenUML, but ZenUML does not work with the silverbullet-mermaid plug, as that plug does not load the separate ZenUML library. Personally, I think it works better as a separate plug anyway.

I think the main advantage of ZenUML is that it works really well for synchronous code flow, with activation blocks and return values. It looks pretty close to how you would do it in code. For other use cases, the standard sequence diagrams in mermaid might be better.

Some details

  • Like the silverbullet-mermaid plug, it is possible to chose a different ZenUML version.
  • Like the silverbullet-mermaid plug, the main ZenUML library is not included inside the plug but is downloaded from a CDN when needed.
  • It is possible to configure that in dark mode it will use a different theme then in light mode, and it is possible to create custom themes. (Or at least change the colors that are used.)
2 Likes