Skip to content

Commit

Permalink
Merge pull request #254 from ahmadalli/fix-too-many-edges
Browse files Browse the repository at this point in the history
Increase maxEdges to fix `Error: Too many edges` rendering error
  • Loading branch information
jdbranham authored Mar 5, 2024
2 parents c8aac22 + 6159ad3 commit 7901ab3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/config/diagramDefaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const defaultMermaidOptions: MermaidConfig = {
startOnLoad: false, // - This options controls whether or mermaid starts when the page loads
arrowMarkerAbsolute: true, // - This options controls whether or arrow markers in html code will be absolute paths or an anchor, #. This matters if you are using base tag settings.
flowchart: defaultFlowChartConfig,
maxEdges: 5000,
sequence: {
diagramMarginX: 50, // - margin to the right and left of the sequence diagram
diagramMarginY: 10, // - margin to the over and under the sequence diagram
Expand Down

0 comments on commit 7901ab3

Please sign in to comment.