mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-16 13:59:54 +02:00
Merge pull request #1534 from 72636c/feature/er_use_max_width
Add `er.useMaxWidth` config option
This commit is contained in:
@@ -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:{
|
||||
* diagramPadding:8,
|
||||
* htmlLabels:true,
|
||||
|
Reference in New Issue
Block a user