| 1 | <html> |
| 2 | <head> |
| 3 | <link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet" /> |
| 4 | <style> |
| 5 | body { |
| 6 | font-family: 'trebuchet ms', verdana, arial; |
| 7 | } |
| 8 | </style> |
| 9 | </head> |
| 10 | <body> |
| 11 | <pre class="mermaid"> |
| 12 | graph TB |
| 13 | subgraph One |
| 14 | a1-->a2-->a3 |
| 15 | end |
| 16 | </pre> |
| 17 | <pre class="mermaid"> |
| 18 | graph TB |
| 19 | a_a --> b_b:::apa --> c_c:::apa |
| 20 | classDef apa fill:#f9f,stroke:#333,stroke-width:4px; |
| 21 | class a_a apa; |
| 22 | </pre> |
| 23 | <pre class="mermaid"> |
| 24 | graph TB |
| 25 | a_a(Aftonbladet) --> b_b[gorilla]:::apa --> c_c{chimp}:::apa -->a_a |
| 26 | a_a --> c --> d_d --> c_c |
| 27 | classDef apa fill:#f9f,stroke:#333,stroke-width:4px; |
| 28 | class a_a apa; |
| 29 | click a_a "http://www.aftonbladet.se" "apa" |
| 30 | </pre> |
| 31 | |
| 32 | <script type="module"> |
| 33 | import mermaid from './mermaid.esm.mjs'; |
| 34 | mermaid.initialize({ |
| 35 | theme: 'forest', |
| 36 | // themeCSS: '.node rect { fill: red; }', |
| 37 | logLevel: 3, |
| 38 | flowchart: { curve: 'linear' }, |
| 39 | gantt: { axisFormat: '%m/%d/%Y' }, |
| 40 | sequence: { actorMargin: 50 }, |
| 41 | // sequenceDiagram: { actorMargin: 300 } // deprecated |
| 42 | }); |
| 43 | </script> |
| 44 | </body> |
| 45 | </html> |
| 46 | |