Difference between revisions of "MermaidTest"

From Kosmos Wiki
Jump to navigation Jump to search
m
m
Line 1: Line 1:
 
Testing support for flow charts and sequence diagrams using [https://mermaidjs.github.io/ Mermaid] and the [https://github.com/SemanticMediaWiki/Mermaid Mermaid MediaWiki extension].
 
Testing support for flow charts and sequence diagrams using [https://mermaidjs.github.io/ Mermaid] and the [https://github.com/SemanticMediaWiki/Mermaid Mermaid MediaWiki extension].
 +
 +
== Some sequence diagram ==
  
 
{{#mermaid:sequenceDiagram
 
{{#mermaid:sequenceDiagram
Line 12: Line 14:
 
     John->Bob: How about you?
 
     John->Bob: How about you?
 
     Bob-->John: Jolly good!
 
     Bob-->John: Jolly good!
 +
}}
 +
 +
== Some flow chart ==
 +
 +
{{#mermaid:flowchart
 +
graph LR
 +
    A[Hard edge] -->|Link text| B(Round edge)
 +
    B --> C{Decision}
 +
    C -->|One| D[Result one]
 +
    C -->|Two| E[Result two]
 
}}
 
}}

Revision as of 14:58, 1 June 2018

Testing support for flow charts and sequence diagrams using Mermaid and the Mermaid MediaWiki extension.

Some sequence diagram

Some flow chart