image rendering without playwright
derlin opened this issue · comments
docker-compose-viz currently embeds the minified mermaid.min.js
script along with the playwright library (headless browser automation). Playwright is however very heavy and doesn't work well inside a docker image.
This issue is about looking for a replacement, that is, a way to still render mermaid diagrams offline and from Kotlin, but with a lighter tool.
why not the official cli ? https://github.com/mermaid-js/mermaid-cli
Hello there!
Just a heads up: the latest release supports the official mermaid-js as well, provided you have npm installed on your system. Let me know what you think.