Diagrams / Mermaid User Journey: Syntax & Examples
Mermaid User Journey: Syntax & Examples
Create a Mermaid journey diagram with stages, tasks, actors and scores. Read an example and understand what experience scores can and cannot show.
When to use User Journey Diagram
A Mermaid user journey diagram combines tasks, actors, and experience scores across stages. Use it to summarize research or organize a workshop discussion. Explain how the scores were chosen so readers can distinguish observed evidence from a working assumption.
- Start with the example in the editor and identify the elements that answer your question.
- Replace the sample labels and values, previewing after each structural change.
- Review the diagram at its intended reading size, then keep the source and export the format your document accepts.
Read the User Journey Diagram example
Diagram source
journey
title Pele Editor User Journey
section Create
Open editor: 5: User
Paste Mermaid code: 4: User
section Review
Check live preview: 5: User
Fix syntax: 3: User
section Share
Export PNG: 5: User
Add to docs: 5: UserSyntax and interpretation
| Concept | How to apply it |
|---|---|
| Sections | Group tasks into recognizable stages such as Discover, Try, and Use. |
| Scores | Choose values consistently and explain the scale. Avoid presenting subjective workshop estimates as measured conversion data. |
| Actors | List the people or roles involved in a task. Keep roles consistent across the journey. |
Common questions
Should I include every click?
Use the level of detail needed for the experience question. A journey map is usually more useful when tasks reflect user goals rather than every interface action.