refactor: Move maxEdges out of flowchart config.

This commit is contained in:
Sidharth Vinod 2023-12-07 10:55:12 +05:30
parent 9b34adf2c9
commit 69f31097e7
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD
1 changed files with 5 additions and 5 deletions

View File

@ -68,6 +68,11 @@ export interface MermaidConfig {
* The maximum allowed size of the users text diagram
*/
maxTextSize?: number;
/**
* Defines the maximum number of edges that can be drawn in a graph.
*
*/
maxEdges?: number;
darkMode?: boolean;
htmlLabels?: boolean;
/**
@ -1431,11 +1436,6 @@ export interface FlowchartDiagramConfig extends BaseDiagramConfig {
*
*/
htmlLabels?: boolean;
/**
* Defines the maximum number of edges that can be drawn in a graph.
*
*/
maxEdges?: number;
/**
* Defines the spacing between nodes on the same level
*