Skip to content

Commit

Permalink
Merge pull request #100 from flowr-analysis/99-increase-the-parsing-t…
Browse files Browse the repository at this point in the history
…ext-size-limit-of-the-local-mermaid-installation

feat: allow much larger diagrams to be rendered by mermaid
  • Loading branch information
EagleoutIce authored Aug 9, 2024
2 parents b496026 + 767c466 commit 76aa5f8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/diagram.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ function createDocument(mermaid: string) {
mermaid.initialize({
startOnLoad: false,
securityLevel: 'loose',
theme: '${theme}'
theme: '${theme}',
maxTextSize: 500000,
maxEdges: 5000
})
</script>
Expand Down

0 comments on commit 76aa5f8

Please sign in to comment.