Jump to content

Mediawiki Extension Flex Diagrams: Difference between revisions

From Squirrel's Lair
Ttenbergen (talk | contribs)
m Ttenbergen moved page Flex Diagrams Test2 to Mediawiki Extension Flex Diagrams without leaving a redirect
Ttenbergen (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[https://www.mediawiki.org/wiki/Extension_talk:Flex_Diagrams {{PAGENAME}}] is an extension to [[Mediawiki]] that displays graphs that have been entered as code.
== Mermaid ==
== Mermaid ==
This should display the diagram on [[Mermaid:Mermaid Test]] between the aaa and the bbb.
Here is an example in [https://mermaid-js.github.io/mermaid/#/ mermaid] (see [https://mermaid.live live editor] to test code). The code is stored at [[Mermaid:Mermaid Test]].


aaa
{{#display_diagram:Mermaid:Mermaid Test}}
{{#display_diagram:Mermaid:Mermaid Test}}
bbb


== Gantt ==
== Gantt ==
This should display the diagram on [[Gantt:Gantt Test]] between the aaa and the bbb.
Flex Diagrams can do Gantt charts. Only one Flex Diagram is allowed per page, so see example at [[Gantt:Gantt Test]].
<!-- {{#display_diagram:Gantt:Gantt Test}} -->


aaa
== BPMN ==
commented out because only one allowed per page <!-- {{#display_diagram:Gantt:Gantt Test}} -->
Flex Diagrams can do BPMNs. Only one Flex Diagram is allowed per page, so see example at  [[BPMN :BPMN Test]].
bbb
<!--{{#display_diagram:BPMN :BPMN Test}}-->


== BPMN ==
{{WhatLinksHere}}
This should display the diagram on [[BPMN :BPMN Test]] between the aaa and the bbb.


aaa
[[Category:Mediawiki]]
{{#display_diagram:BPMN :BPMN Test}}
[[Category:Toolbox]]
bbb
[[Category:Software]]

Latest revision as of 07:51, 2021 November 19

Mediawiki Extension Flex Diagrams is an extension to Mediawiki that displays graphs that have been entered as code.

Mermaid

Here is an example in mermaid (see live editor to test code). The code is stored at Mermaid:Mermaid Test.

graph TD Start --> Stop

Gantt

Flex Diagrams can do Gantt charts. Only one Flex Diagram is allowed per page, so see example at Gantt:Gantt Test.

BPMN

Flex Diagrams can do BPMNs. Only one Flex Diagram is allowed per page, so see example at BPMN :BPMN Test.

Related articles

Related articles: