Document er defaults

This commit is contained in:
Ryan Ling
2020-07-11 20:50:36 +10:00
parent 99cb752c71
commit 3e38da2120
2 changed files with 22 additions and 0 deletions

View File

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

View File

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