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

Generating a Mermaid SVG differs from a generated PNG. #1641

Closed
perfectra1n opened this issue Sep 18, 2023 · 0 comments · Fixed by #1645
Closed

Generating a Mermaid SVG differs from a generated PNG. #1641

perfectra1n opened this issue Sep 18, 2023 · 0 comments · Fixed by #1645
Labels
🐞 bug Something isn't working

Comments

@perfectra1n
Copy link

Taking the following Mermaid diagram:

graph LR
    user(User)-->|Logs in| workspace(AWS Workspace) -->|Connects to| App(Application)

Then running the following commands:

kroki convert diagram.mmd --type mermaid --format png
kroki convert diagram.mmd --type mermaid --format svg

Yields the following:
SVG
test2

PNG
test2

As you can tell, the text between the nodes in the PNG become difficult to read as the arrow crosses through them...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants