mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-11-19 12:14:07 +01:00
Add flowchart.diagramPadding config option
This option lets you customise the padding around the whole flowchart. It is equivalent to `er.diagramPadding` and defaults to 8px for backwards compatibility with the current hardcoded value.
This commit is contained in:
@@ -577,6 +577,7 @@ export default mermaidAPI;
|
||||
* arrowMarkerAbsolute:false,
|
||||
*
|
||||
* flowchart:{
|
||||
* diagramPadding:8,
|
||||
* htmlLabels:true,
|
||||
* curve:'linear',
|
||||
* },
|
||||
|
||||
Reference in New Issue
Block a user