Skip to content

Commit

Permalink
refactor: Move maxEdges out of flowchart config.
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthv96 committed Dec 7, 2023
1 parent 9b34adf commit 69f3109
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/mermaid/src/config.type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
/**
Expand Down Expand Up @@ -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
*
Expand Down

0 comments on commit 69f3109

Please sign in to comment.