Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Change Mermaid Defaults #234

Open
vikram-rawat opened this issue Jul 11, 2017 · 4 comments
Open

Change Mermaid Defaults #234

vikram-rawat opened this issue Jul 11, 2017 · 4 comments

Comments

@vikram-rawat
Copy link

Mermaid Graphs are Small to begin with and in order to get a big image. you need to change the useMaxWidth arguement.

I am unable to change it anyhow

mermaid.initialize({
flowchart:{
htmlLabels: false
useMaxWidth: true
}
});

Please help me how to change the configuration of mermaid charts.

@vikram-rawat
Copy link
Author

Mermaid has changed the defaults from it's plugin

startOnLoad: true,

  |   | cloneCssStyles: true,
  |   | flowchart: {
  |   | - htmlLabels: false
  |   | + htmlLabels: false,
  |   | + useMaxWidth:false
  |   | },
  |   | });

piranna/gitbook-plugin-mermaid@ee9838f

Please help me out

@vikram-rawat
Copy link
Author

for more information look at this
mermaid-js/mermaid#204

@rich-iannone
Copy link
Owner

@vikram-rawat Thanks! I'll have a look at this and see if I could update the defaults to make things display more nicely.

@vikram-rawat
Copy link
Author

vikram-rawat commented Aug 4, 2017

Thanks Man Thanks a LOT. At least Now they are good enough on the Laptop. Can we Make them any bigger than this and control the size of NODES in mermaid. can We??

Kindly give us enough Big Chart that we can show somebody on a screen. on a projector. Please Else they will just be for personal use and We can't use them in presentation.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants