Document er defaults

This commit is contained in:
Ryan Ling 2020-07-11 20:50:36 +10:00
parent 99cb752c71
commit 3e38da2120
No known key found for this signature in database
GPG Key ID: F03D4D72670827BB
2 changed files with 22 additions and 0 deletions

View File

@ -760,6 +760,17 @@ mermaidAPI.initialize({
startOnLoad:true,
arrowMarkerAbsolute:false,
er:{
diagramPadding:20,
layoutDirection:'TB',
minEntityWidth:100,
minEntityHeight:75,
entityPadding:15,
stroke:'gray',
fill:'honeydew',
fontSize:12,
useMaxWidth:true,
},
flowchart:{
htmlLabels:true,
curve:'linear',

View File

@ -576,6 +576,17 @@ export default mermaidAPI;
* startOnLoad:true,
* arrowMarkerAbsolute:false,
*
* er:{
* diagramPadding:20,
* layoutDirection:'TB',
* minEntityWidth:100,
* minEntityHeight:75,
* entityPadding:15,
* stroke:'gray',
* fill:'honeydew',
* fontSize:12,
* useMaxWidth:true,
* },
* flowchart:{
* htmlLabels:true,
* curve:'linear',