title: Maximum text size in diagram exceeded- mermaid.js
body: <p>I am using mermaid 8.8.1 and trying to render a large diagram and getting an error &quot;Maximum text size in diagram exceeded&quot;. Another answer here <a href="https://stackoverflow.com/questions/61870481/maximum-text-size-in-diagram-exceeded">Maximum Text Size In Diagram Exceeded</a> recommends overriding &quot;maxTextSize&quot; setting, but I dont find this in the mermaidAPI configuration settings <a href="https://github.com/mermaid-js/mermaid/blob/develop/docs/Setup.md#mermaidapi-configuration-defaults" rel="nofollow noreferrer">https://github.com/mermaid-js/mermaid/blob/develop/docs/Setup.md#mermaidapi-configuration-defaults</a>.
  Where can I find this setting or is there another work around to fix this error?</p>