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
 
(2 intermediate revisions by the same user not shown)
Line 48: Line 48:
config.flowchart.useMaxWidth = false
config.flowchart.useMaxWidth = false
}}
}}
{{#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:
{{#mermaid:graph LR;
A-->
|config.a.b = true
}}
Without the pull request being applied, the second graph will not render.
Without the pull request being applied, the second 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.