#1920 Making flocharts adhere to the curve configuration also changing the default configuration for grpah and flowchart

This commit is contained in:
Knut Sveidqvist
2021-02-28 11:29:56 +01:00
parent cc1eb5dd98
commit 82618f0184
3 changed files with 13 additions and 4 deletions

View File

@@ -184,9 +184,9 @@ const config = {
*| curve | Defines how mermaid renders curves for flowcharts. | String | Required | Basis, Linear, Cardinal|
*
***Notes:
*Default Vaue: Linear**
*Default Vaue: monotoneX**
*/
curve: 'linear',
curve: 'monotoneX',
// Only used in new experimental rendering
// represents the padding between the labels and the shape
padding: 15,