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

View File

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