| 1 | <!doctype html> |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <meta charset="utf-8" /> |
| 5 | <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
| 6 | <title>Mermaid Quick Test Page</title> |
| 7 | <link rel="icon" type="image/png" href="data:image/png;base64,iVBORw0KGgo=" /> |
| 8 | <style> |
| 9 | div.mermaid { |
| 10 | /* font-family: 'trebuchet ms', verdana, arial; */ |
| 11 | font-family: 'Courier New', Courier, monospace !important; |
| 12 | } |
| 13 | </style> |
| 14 | </head> |
| 15 | |
| 16 | <body> |
| 17 | <h1>Journey diagram demo</h1> |
| 18 | <pre class="mermaid"> |
| 19 | --- |
| 20 | title: My working day |
| 21 | --- |
| 22 | journey |
| 23 | accTitle: Very simple journey demo |
| 24 | accDescr: 2 main sections: work and home, each with just a few tasks |
| 25 | |
| 26 | section Go to work |
| 27 | Make tea: 5: Me |
| 28 | Go upstairs: 3: Me |
| 29 | Do work: 1: Me, Cat |
| 30 | section Go home |
| 31 | Go downstairs: 5: Me |
| 32 | Sit down: 3: Me |
| 33 | </pre> |
| 34 | |
| 35 | <script type="module"> |
| 36 | import mermaid from './mermaid.esm.mjs'; |
| 37 | mermaid.initialize({ |
| 38 | theme: 'forest', |
| 39 | logLevel: 3, |
| 40 | securityLevel: 'loose', |
| 41 | flowchart: { curve: 'basis' }, |
| 42 | gantt: { axisFormat: '%m/%d/%Y' }, |
| 43 | sequence: { actorMargin: 50 }, |
| 44 | }); |
| 45 | </script> |
| 46 | </body> |
| 47 | </html> |
| 48 | |