-
-
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
Possibility to set the width of the generated flowchart #129
Comments
A fix for this has been released in version 0.5.0 |
Has anyone verified this issue has been resolved? I'm struggling to get the flow diagram to resize based on width argument and I could certainly be doing something wrong. However, I simply modified /test/web.html
And did not seem to notice any of the charts resize. |
I am having trouble with this as well. If I want to set the max width for the nodes, where and how do I do it exactly? |
Sorry for the late reply for this. Summer is great! :-) @pnewell, this issue refers to the width of the whole chart and not the nodes. @trienism, I see the issue. Currently it will decrease the width if it is to wide. But will ignore your setting. If you surround you mermaid div with another div with width:50% set in the css you should get the effect you desire. Will fix this though for next release. |
was is resolved |
By adding a flowchartConfiguration with the with it should b possible to set the with to 100% or a specific with like 970px
If the configuration is omitted the actual width should be used.
The text was updated successfully, but these errors were encountered: