Difference between revisions of "Graphs with Mermaid"

From Logic Wiki
Jump to navigation Jump to search
(Created page with " == Syntax == <pre> {{#mermaid:graph TD; A-->B; A-->C; B-->D; C-->D; click A "https://sandbox.semantic-mediawiki.org/wiki/A" click B "https://sandbox.semantic-m...")
Tag: 2017 source edit
 
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
== Syntax ==
+
==Syntax==
 +
 
 
<pre>
 
<pre>
 
{{#mermaid:graph TD;
 
{{#mermaid:graph TD;
Line 7: Line 8:
 
  B-->D;
 
  B-->D;
 
  C-->D;
 
  C-->D;
  click A "https://sandbox.semantic-mediawiki.org/wiki/A"
+
  click A "http://lolita.dimap.ufrn.br/logicwiki/A"
  click B "https://sandbox.semantic-mediawiki.org/wiki/B"
+
  click B "http://lolita.dimap.ufrn.br/logicwiki/B"
  click C "https://sandbox.semantic-mediawiki.org/wiki/C"
+
  click C "http://lolita.dimap.ufrn.br/logicwiki/C"
  click D "https://sandbox.semantic-mediawiki.org/wiki/D"
+
  click D "http://lolita.dimap.ufrn.br/logicwiki/D"
 
}}
 
}}
 
</pre>
 
</pre>
  
== Result ==
+
 
 +
==Result==
 
{{#mermaid:graph TD;
 
{{#mermaid:graph TD;
 
  A-->B;
 
  A-->B;
Line 20: Line 22:
 
  B-->D;
 
  B-->D;
 
  C-->D;
 
  C-->D;
  click A "https://sandbox.semantic-mediawiki.org/wiki/A"
+
  click A "http://lolita.dimap.ufrn.br/logicwiki/A"
  click B "https://sandbox.semantic-mediawiki.org/wiki/B"
+
  click B "http://lolita.dimap.ufrn.br/logicwiki/B"
  click C "https://sandbox.semantic-mediawiki.org/wiki/C"
+
  click C "http://lolita.dimap.ufrn.br/logicwiki/C"
  click D "https://sandbox.semantic-mediawiki.org/wiki/D"
+
  click D "http://lolita.dimap.ufrn.br/logicwiki/D"
 
}}
 
}}
 
{{Keywords|Keywords=mermaid;graph}}
 
 
[[Category:Mermaid examples]]
 

Latest revision as of 21:51, 23 August 2020

Syntax

{{#mermaid:graph TD;
 A-->B;
 A-->C;
 B-->D;
 C-->D;
 click A "http://lolita.dimap.ufrn.br/logicwiki/A"
 click B "http://lolita.dimap.ufrn.br/logicwiki/B"
 click C "http://lolita.dimap.ufrn.br/logicwiki/C"
 click D "http://lolita.dimap.ufrn.br/logicwiki/D"
}}


Result