---
title: Flow diagram
styles: [scientific]
---

```chart
type: flow
title: A support request takes one of three paths to close
subtitle: Steps in columns by order, in the lane of the team that owns them
data:
  inline:
    - {step: Request, lane: Customer}
    - {step: Triage, lane: Support}
    - {step: Fix, lane: Support}
    - {step: Invoice, lane: Billing}
    - {step: Refund, lane: Billing}
    - {step: Pay, lane: Customer}
    - {step: Close, lane: Support}
    - {from: Request, to: Triage, note: new}
    - {from: Triage, to: Fix, note: bug}
    - {from: Triage, to: Invoice, note: bill}
    - {from: Triage, to: Refund, note: ask}
    - {from: Fix, to: Close}
    - {from: Invoice, to: Pay}
    - {from: Pay, to: Close, note: paid}
    - {from: Request, to: Close, note: spam}
encoding: {label: step, source: from, target: to, lane: lane, y: note}
```
