-
Notifications
You must be signed in to change notification settings - Fork 264
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
New CLI release's ZenUML generation has wrong dimensions for svg's #584
Comments
Here is the svg output that I get, btw:
|
Hi there @Vwing, thanks for pointing out the problem, but this is the mermaid repo, you should have issued in https://github.com/mermaid-js/mermaid-cli. |
Ah! Sorry about that. I'll remake this issue over there 😅 |
My gut feeling is that this is an issue with the CSS not being included in the SVG file, but unfortunately, I don't know about ZenUML to confirm. As a temporary measure, going to PNG or PDF should work. If you want an SVG, you might be able to export a PDF file, and then convert it to an SVG using |
Description
Using the demo zenuml code provided in the documentation
When I do

mmdc -i zen.mmd -o zen.png
I get this:But when I do

mmdc -i zen.mmd -o zen.svg
I get this:Looks like the shield checkmark in the top-right became very very large, pushing the rest of the zenuml graphic out of frame.
I'm using the latest release, v10.3.1
Steps to reproduce
zen.mmd
containing:mmdc -i zen.mmd -o zen.png
command to create a png of the zenuml (you'll see that it's fine)mmdc -i zen.mmd -o zen.svg
command to create an svg of the zenuml (you'll see that it's broken)Screenshots
No response
Code Sample
No response
Setup
Suggested Solutions
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: