-
-
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
Allow overriding sequence diagram configuration (SVG properties) #103
Comments
Thanks for this addition jjmr! Perhaps an update to mermaidCLI.md and sequenceDiagram.md I know that an example configuration without digging through the code will be much appreciated. You don't need to compile the site to html just updates to the md files are fine. Then the updates will tag along when the html files are refreshed. |
Yes, of course! Today I will create a PR with the doc. |
This has been included in release 0.3.3 |
Sometimes, it's useful to increase the width between actors, the notes width or the margin to fit some large texts that are not well rendered with the default configuration. These configuration properties are used in the sequenceRenderer and are set in the file as constants. A setConf method already exists but it's not used (only in tests).
It would be great if a new parameter is added to the console client to allow overriding these properties with new ones. This new parameter could specify the path of a file with the configuration options in a JSON file.
The text was updated successfully, but these errors were encountered: