This site is no longer actively maintained. It exists for historical purposes as an example of Phabricator integration and Lua scripting.

User:Ccicalese/Wide Mermaid Graph

From cpt

When initially rendered, this graph will fit the width of the window, scaling down if necessary:


When pull request 41 is applied, this graph will render at the default size regardless of whether it is wider than the window, and it will scroll horizontally necessary:

{{#mermaid:graph LR;


The pull request also makes it so that graphs with unrecognized parameters will ignore those parameters and render, rather than resulting in a blank graph:

Without the pull request being applied, the second graph will not render.