| 1 | <html> |
| 2 | <head> |
| 3 | <link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet" /> |
| 4 | </head> |
| 5 | <body> |
| 6 | <h1>User Journey</h1> |
| 7 | <pre class="mermaid"> |
| 8 | journey |
| 9 | title Go shopping |
| 10 | |
| 11 | section Get to the shops |
| 12 | Get car keys:5: Dad |
| 13 | Get into car:5: Dad, Mum, Child 1, Child 2 |
| 14 | Really drive to supermarket:3: Dad |
| 15 | |
| 16 | section Do shopping |
| 17 | Do actual shop:3: Mum |
| 18 | Get in the way:2: Dad, Child 1, Child 2 |
| 19 | Pay: 2: Dad |
| 20 | |
| 21 | section Go home |
| 22 | Lose keys:3: Dad |
| 23 | Get cross:1: Dad, Child 1 |
| 24 | Find keys:4: Mum |
| 25 | Get into car:4: Dad, Mum, Child 1, Child 2 |
| 26 | Drive home:3: Dad |
| 27 | </pre> |
| 28 | <script type="module"> |
| 29 | import mermaid from './mermaid.esm.mjs'; |
| 30 | mermaid.initialize({ |
| 31 | theme: 'forest', |
| 32 | logLevel: 3, |
| 33 | journey: { taskMargin: 30 }, |
| 34 | }); |
| 35 | </script> |
| 36 | </body> |
| 37 | </html> |
| 38 | |