Allow configuring mermaid/pele diagram max characters

Use case or problem

I’m making the Mermaid Base View plugin and am very glad that Pele is so much faster than Mermaid! I had previously added plugin settings for limiting the length of the diagrams because it lagged pretty quickly. Now since it is so much faster I got rid of the limits. However at some point I still run into the new native limit of 50000 characters:

Diagram source is longer than the limit of 50000 characters.

This means I can’t for example show all the notes in my vault as a tree view.

Proposed solution

Before I reach the limit it doesn’t lag at all so I suspect that my machine could handle way more.

Maybe Obsidian could provide a customizable limit in the settings?

Or maybe some way to bypass the limit for developers? Since creating diagrams by hand will probably never reach that limit.