Skip to main content
Version: Next

Scenario view

  • Shows: One scenario as a sequence diagram: which system asks or tells which, first to last.
  • Drawn for: a scenario, one view each.
  • In the viewer's picker: under Scenarios.
  • As a file: kq svg --scenario <path>, and kq png the same way.

Reading it​

One scenario, drawn as a trimmed UML sequence diagram: which system asks or tells which, first to last. It is the one view that shows the order between systems.

  • Lifelines: each component, monolith or screen a step starts or ends at stands left to right, in the order it first takes part, its name and type line in a head with a dashed line down from it. A step landing on an interface is drawn to the component or monolith holding it, and the interface is named under the arrow. A platform or monolith holding two or more lifelines side by side is named on a strip above their heads.
  • Steps: one row each, top to bottom, numbered by their place in the scenario, with the step's sentence, or its message's name, above the line, and its protocol and interface below. A step that waits for an answer is a solid line with a filled arrowhead; one that does not, an open arrowhead. A step through a channel carries the channel's name in a pill.
  • Replies are drawn, never written: a dashed line back to the caller, for a synchronous call or a query.
The diagram in words

Buy a ticket online · Scenario view

Scenario

  • Buy a ticket online
  • A traveller buys a ticket on the web shop, from the quote to the payment.

Taking part

  • Web shop (User-facing app · Retail channels)
  • Retail BFF (Backend · Retail channels)
  • Fare engine (Backend · Ticketing)
  • TIX (Monolith: COTS)
  • Payment hub (Backend · Finance)
  • Checkout API (SaaS · Payment gateway)

Steps

  • Web shop → Retail BFF: 1. Sends the journey with the traveller's token, http · Retail API, waits for an answer
  • Retail BFF → Fare engine: 2. Prices the journey, grpc · Quotes, waits for an answer
  • Retail BFF → TIX: 3. Books it in TIX, http · TIX booking API, waits for an answer
  • Retail BFF → Payment hub: 4. Takes the payment, http · Payments, waits for an answer
  • Payment hub → Checkout API: 5. Charges the card, http · Payments, waits for an answer

A scenario is drawn at one plateau: it has no transition. A step whose connection is not in the model there stays in its place, red and dashed. A click selects a head, a strip, the header or a step, and selecting a step brings it forward and dims the others. Collapse a platform, monolith or module into one lifeline with its strip's toggle, or with Collapse and its name in a head's menu. Ctrl+click (Cmd+click on a Mac) a head or a strip to focus the whole model on its element, or the header's for line to open its task's process view; on a process view, a task's menu offers Open Scenario for each scenario carried out for it.

© 2026 Extenza Works. All rights reserved.