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

Add support for the flowchart useMaxWidth config parameter #40

Closed
cicalese opened this issue Oct 8, 2019 · 1 comment
Closed

Add support for the flowchart useMaxWidth config parameter #40

cicalese opened this issue Oct 8, 2019 · 1 comment

Comments

@cicalese
Copy link
Contributor

cicalese commented Oct 8, 2019

The flowchart useMaxWidth parameter controls whether the diagram will be scaled to fit the available width. The default for this parameter is true, meaning that the diagram will be scaled. For very wide diagrams, this can result in an unreadably small diagram. Setting useMaxWidth to false allows the diagram to remain at a fixed size.

@kghbln
Copy link
Member

kghbln commented Nov 9, 2019

This will get out to the public as Mermaid 2.2.0

@kghbln kghbln closed this as completed Nov 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants