-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
margins around flowchart are not balanced #852
Comments
renanlecaro
changed the title
margins around flowchart
margins around flowchart are not balanced
Jun 9, 2019
Turns out using mermaid.init instead of mermaid.render solved this, so i guess we can close it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank your for making this awesome library ! I'm working on a google docs integration. I've encountered some difficulties along the way so i'll report them in separate issues.
When rendering a flow chart, the top and left margins are set by mermaid.render(), but the bottom and right are not.
See first item in this codepen : https://codepen.io/renanlecaro/pen/rEBBKQ
So i've been adding 25 px to the width and height of the svg to compensate, but maybe there's a better way ? Is this a bug ?
The text was updated successfully, but these errors were encountered: