Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

User journeys

sirene draws Mermaid user journeys (journey) as images and as text:

journey
    title My working day
    section Go to work
      Make tea: 5: Me
      Go upstairs: 3: Me
      Do work: 1: Me, Cat
    section Go home
      Go downstairs: 5: Me
      Sit down: 5: Me
the drawing of the mermaid source above

In the editor a user journey is read-only on the drawing side.

What is read

SyntaxDrawn as
title textthe title above; frontmatter title too
section namea colored box over its tasks
name: score: actor, actora task box with a dot per actor, and a face below it for the score
accTitle, accDescrkept in the model

A score runs from 1 to 5 and may have a fraction. Faces sit lower for lower scores, and smile above 3, frown below 3, and are level at 3. Actors are listed with their colors at the left. In text, each task has a bar of five steps for its score, rounded.

Errors

A task with no score or a score that is not a number is an error, and the task is skipped. A score outside 1 to 5 is a warning and is drawn at the nearest end. Text after the actors (5: Me: more) is a warning and ignored.