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

Difference between revisions of "User:Ccicalese/Wide Mermaid Graph"

From cpt
No edit summary
No edit summary
 
Line 49: Line 49:
}}
}}


 
Without the pull request being applied, the second graph will not render.
 
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:
{{#mermaid:graph LR;
A-->B
}}
Without the pull request being applied, the third graph will not render.

Latest revision as of 17:13, 8 November 2019

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:

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