Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image rendering without playwright #12

Open
derlin opened this issue Apr 16, 2023 · 2 comments
Open

image rendering without playwright #12

derlin opened this issue Apr 16, 2023 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@derlin
Copy link
Owner

derlin commented Apr 16, 2023

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.

@derlin derlin added the help wanted Extra attention is needed label Apr 16, 2023
@mgaitan
Copy link

mgaitan commented Apr 22, 2023

why not the official cli ? https://github.com/mermaid-js/mermaid-cli

@derlin
Copy link
Owner Author

derlin commented Aug 2, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants