Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

v3.1.0

Choose a tag to compare

@craftzdog craftzdog released this 16 Oct 06:39
· 18 commits to master since this release

Features

  • Upgrade to Mermaid 12. Flowchart, state, class, sequence, ER and other diagrams now use Mermaid's new neo look, and ELK is bundled as the default layout.
  • Node shadows follow the Inkdrop theme through the new --mermaid-node-shadow variable, in light, dark and print.
  • Sequence diagram actors use the themed shadow too, so it no longer disappears on light themes.
  • Theme the new use case (usecase-beta) and agentflow (agentflow-beta) diagrams.

Fixes

  • Stop diagrams from rendering twice on mount.
  • Keep the diagram on screen while its source is edited.
  • Give each render a fresh id so the diagram never blanks.
  • Resolve theme variables against the diagram's own theme scope.

Refactoring

  • Split the rendering core out into @inkdropapp/mermaid (now 0.2.0).

Docs

  • Add a package README and fix the plugin manifest.

Other

  • Bump dev dependencies and tidy lint errors.
  • Point repository URLs at inkdropapp/mermaid.

Notes

  • The shadow and use case colours need the new variables from @inkdropapp/css 0.10.1 or later. Without them, nodes show no shadow.
  • Mermaid 12 requires ES2024 (Safari 17.4 / iOS 17.4).
  • The plugin's Mermaid bundle grows from about 3.4 MB to 5.2 MB because ELK is now included.