Data-flow view
- Shows: Where one value stream stage's data sits, how copies of it are kept and what moves it.
- Drawn for: a value stream stage, one view each.
- In the viewer's picker: under Data flows.
- As a file:
kq svg --data-flow <path>, andkq pngthe same way.
Reading it
Where one value stream stage's data sits, how copies of it are kept and what moves it, drawn in BPMN's shapes with Kanoniq's meanings. It is offered for every stage whose systems hold some of its data. Only the work a process marks with data is drawn (see Writing a business process).
- The frame is the stage's ecosystem, headed with its name. Its domains are lanes, and systems are lanes inside them, each headed with its name and its type line, its kind and its platform.
- A muted lane is a system outside the stage that a line reaches: it holds only what the line touches.
- Pools: a system in another ecosystem is a collapsed pool below the frame, and a persona a message comes from or goes to is a pool on the side nearer the lanes it exchanges messages with.
- Rows: a system's lane has a row for its work, its syncs and its events, then one row per storage, with the storage at the row's left and the data it holds along it.
It reads left to right in four states, each a band of columns across every lane, headed in a strip across the top:
| State | Holds |
|---|---|
| Setup | What the stage finds already there: the data no marked work enters, and the copies kept of it |
| Inputs | What starts each process: its start events |
| Core | Every piece of marked work, and the data it enters |
| Output | What is sent out afterwards: every sync from data in core or output, its copy, and every end event |
An empty band is drawn narrow, its header still there. Which state a box is in is computed from what the model says, never written: to move one, change the process. Within its band a box stands right of what it comes from, so a copy of a copy stands further right. A position means "comes from", not "happens after".
| Drawn | As |
|---|---|
| Work a person does | The process view's task, with a person where it is done on a screen |
| Work a persona starts, a step receiving a message from a pool | A task with a person |
Work a system does, a service step | A task with a gear |
| A sync | A task with a gear in its copy's lane, named Sync, its type line what it carries or reconcile; a reconcile sync is drawn thinner |
| A start, an end | As on the process view |
| Data held in a storage | A data object, its domain object's name under it: an origin carries BPMN's data input arrow, an authoritative one is solid, a replica muted with a read-only mark, a transient one dotted |
| A storage | A data store, its name and kind under it |
Work takes ArchiMate's business yellow, starts green and ends red, as on the process view; syncs and data take the application color, a storage the green of a channel, and a replica and everything in a muted lane are muted.
| Line | From, to | Drawn as |
|---|---|---|
| Follows | One piece of marked work to the next in its process | A solid line with a filled arrowhead, counting on it the unmarked steps it skips, 1 step |
| Data association | Work into the data it enters, data into its sync, a sync into its copy | A dotted line with an open arrowhead |
| Hand-off | A connection between two systems carrying a command, a query or an event about the stage's data, and a persona's message | A dashed line from an open circle at the sender to an open arrowhead at the receiver, labeled with the message's name and kind, +n for the rest |
Hand-offs are drawn on top and never move a box. A query points back at the system asking, since the data goes there. A connection that carries nothing stated is not drawn, and a message a sync carries is drawn once, on the sync. A line to a pool runs straight from its box to the pool and may cross a box between them: routing it around them is not built.
The view's header is the stage, 2. Buy a ticket, and Data flow with its value stream. Its legend is titled BPMN's shapes, Kanoniq's meanings, since the view is not valid BPMN.
The diagram in words
Buy a ticket · Data-flow view
Stage
- 2. Buy a ticket
- Data flow of Travel with us
- Meridian Rail
Ticketing
- Agent portal (User-facing app · Retail channels)
- Agency DB (SQL): data store
- Agency (Data object): Setup, authoritative, origin
- Retail BFF (Backend · Retail channels)
- Basket store (Table): data store
- Session cache (Key-value): data store
- Basket (Data object): Setup, authoritative, origin, transient
- Session (Data object): Setup, authoritative, origin, transient
- Fare engine (Backend · Ticketing)
- Fare DB (SQL): data store
- Sync (etl): Setup
- Fare (Data object): Setup, replica
- TIX (Monolith: COTS)
- TIX DB (SQL): data store
- Fare (Data object): Setup, authoritative, origin
- Traveller at the counter (Message start event): Inputs
- Book at the office (User task): Core
- Booking (Data object): Core, authoritative, origin
- Ticket (Data object): Core, authoritative, origin
- Tickets handed over (End event): Output
Pools
- Traveller (Pool: Customer): pool
Lines
- Traveller at the counter → Book at the office: sequence flow
- Book at the office → Tickets handed over: sequence flow, 1 step
- Book at the office → Booking: data association
- Book at the office → Ticket: data association
- Fare → Sync: data association
- Sync → Fare: data association
- Traveller → Traveller at the counter: message flow
- Fare → Retail BFF: hand off, Quote a fare (query)
- Retail BFF → Booking: hand off, Book a journey (command)
A click selects: a piece of work, an event, data, a sync, a storage, a lane's header (its domain or system), a pool or the header (the stage). Ctrl+click (Cmd+click on a Mac) work to open its process view with it selected, data to open the Tangible ERD of its domain object's domain, a system's lane to focus the whole model on that system, or the header to open the stage's value-stream view; holding Ctrl shows where a box goes before you click. A click on a line brings it forward, and hovering one says what it is, its two ends and its label. The information pane shows what the canvas leaves out, such as how many systems hold a domain object, what a sync carries and who starts it. On a transition the view marks what is gone, what has arrived and what is restated, as every view does, and a box stands in the same place in both.
On a value-stream view, a stage holding data offers Open Data Flow in its right-click menu. In the viewer's picker, a data-flow view is under Data flows, as <Ecosystem> · <stream> · <n>. <stage>. On the command line it is kq svg --data-flow <path>; see kq svg. In VS Code, Show in Kanoniq Viewer on a data entity does not open a data-flow view: that is not built.
© 2026 Extenza Works. All rights reserved.