| I was a big Mermaid fan, but no longer. It is very difficult to save the images as bitmap (.jpeg, .mpng) or vector (.svg). You basically have to use a headless browser rendering toolkit, and guess what? The images aren't consistent (different rendering styles). I'm switching to Graphviz (DOT-based) which can look just as nice and has tons of file save features. |
The main reason why we need a browser currently is size calculations of the SVG boxes, which libraries like jsdom does not support.