Skip to main content

Journey

The following classes can be useful when creating journey diagrams:

  • siren
  • journey
  • journeyConfig

Workday

let Me, Cat = "Me", "Cat"
siren.journey [
journey.title "My working day"
journey.section "Go to work"
journey.task("Make tea", 5, [Me])
journey.task("Go upstairs", 3, [Me])
journey.task("Do work", 1, [Me; Cat])
journey.section "Go home"
journey.task("Go downstairs", 5, [Me])
journey.task("Sit down", 5, [Me])
]
|> siren.write