mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-21 00:09:51 +02:00
refactor: Move maxEdges out of flowchart config.
This commit is contained in:
@@ -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
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user