PRISM
All documentation pages

Reading the model

Kinds of views

What each kind of diagram and table in PRISM answers, how to read it, and where to find it in the coffee machine example.

PRISM draws the same model in several kinds of views, each answering one question. The badge left of a view’s title names its kind, for example INTERCONNECTION or ACTION FLOW. On the home page the views are sorted onto the cards Context, Requirements, Behaviour, Structure and Allocations (see The home page). Every section below names the view of the coffee machine example that shows it.

Context: what is around the system?

A context view draws the system as one block with its ports and the actors and neighbouring systems around it. It answers who and what the system deals with.

Find it on the card Context: Context Machine. The Coffee Machine in the middle takes beans, mains power, water and requests and gives out coffee and a display to the User. The Service Technician is drawn with a dashed amber outline and a PROPOSED tag: it was proposed by an AI and nobody has approved it yet (see Proposed content).

Context Machine: the Coffee Machine block with its ports, connected by power, liquid, bean and signal lines to Bean Supply, Mains Outlet, Service Technician, Water Source and User

The arrow in the corner of the Coffee Machine block means it has a diagram of its own: double-click it to open Structure Machine.

Structure: what is the system made of, and how is it connected?

A structure view (INTERCONNECTION) draws the parts of a block, their ports and the connections between them. It answers which part talks to which, and through what.

Find it on the card Structure: Structure Machine, the eight logical elements of the machine from Water Tank to User Interface.

  • Ports are the small squares on the border of a block, with their name next to them (water in, power in).
  • Lines connect ports. Each line has a link type, and each link type has its own colour and pattern: in the coffee machine a PowerCable is red, a Pipe blue, a Chute amber and a SignalLine violet and dotted.
  • The label on a line names what it carries, for example Water, HotWater or Temperature.
  • The legend below the diagram names every line style and marker used in it, for example the amber ? of open points.

Structure Machine: the logical elements with their ports and coloured connections, and the legend below naming PowerCable, Pipe, Chute and SignalLine

Select a line and open the details panel to see its Link type and what it Carries; for a port the panel shows its type. How to select and open the panel: Navigating diagrams.

Structure with areas: which parts belong together?

A structure view can group its blocks into coloured areas, for example by domain or team. The connections stay the same; the areas show which parts form a unit.

Find it on the card Structure, below Structure Machine: Structure Groups. It draws the same parts in the areas Electronics, Water circuit and Brewing.

Structure Groups: the same parts as Structure Machine, grouped into the areas Electronics, Water circuit and Brewing

Function flow: what does the system do?

A function flow (ACTION FLOW) draws functions as blocks and the items that flow between them as lines from output to input. It answers what the system does, independent of the parts that do it.

Find it on the card Behaviour: System Functions. It shows the three system functions F1 Prepare Coffee, F2 Descale Coffee Machine and F3 Clean Coffee Machine as black boxes: nothing flows between them, each takes its items from the outside and gives its results to the outside, for example the water and the beans for F1 Prepare Coffee. Double-click a system function to open its swimlane diagram.

Swimlanes: who does what, in which order?

A swimlane diagram is a function flow with one lane per part: each step stands in the lane of the part it is allocated to. Solid lines are flows of items, dashed lines are the order of the steps (then). The flow starts at the filled dot and ends at the ringed dot.

Find them on the card Behaviour, one per system function: F1 Prepare Coffee, F2 Descale Coffee Machine and F3 Clean Coffee Machine. F1 Prepare Coffee shows its partial functions from F1.8 Convert Mains Power to F1.7 Collect Spent Grounds in the order they happen, in the lanes User Interface, Controller, Power Supply, Water Tank, Pump, Boiler, Grinder and Brew Unit.

F1 Prepare Coffee: the partial functions of one cup in eight vertical lanes, one per logical element, joined by flows and dashed successions

The Brew Unit level has its own: Behaviour Brew Unit, the extraction cycle with one lane per part of the brew unit.

Arrange the steps freely or in time order

PRISM arranges a vertical swimlane diagram without time sections freely: the flow sets the order, steps that follow each other in different lanes may stand at the same height, and lines leave a block on the side that faces their partner. To have every step in a row of its own below the step before it, open the Edit mode, right-click an empty spot of the diagram and choose Keep the actions in time order (top to bottom). Arrange the actions freely in the same menu switches back.

The choice applies to every swimlane diagram of the project; the tooltip of the entry says so, or names the group of views it applies to when the project sets it per view. It is one step of Undo. Blocks you placed by hand stay where they are.

Allocation: which part performs which function?

An allocation view (ALLOCATION) draws functions on one side and parts on the other, joined by dashed «allocate» arrows. It answers where each function runs.

Find it on the card Allocations: Allocation Machine. The partial functions are grouped under their system function on the left, the logical elements on the right; F1.1 Heat Water points to Boiler, for example.

Requirements landscape: how do requirements and functions hang together?

A landscape draws groups of requirements and functions as boxes in columns. The curve between two boxes stands for all derivation and satisfy links between their contents; the wider the curve, the more links. A badge on each box counts its requirements or links, and a box without any link is dashed.

Find it on the card Requirements: Requirements Landscape. Customer requirements are on the left, system requirements in the middle and the system functions F1 to F3 on the right. The badge on F1 Prepare Coffee counts its 14 links; no box is dashed, because every group is linked.

Requirements Landscape: customer requirement groups on the left, system requirement groups in the middle and the system functions F1 to F3 on the right, joined by curves whose width is the number of links

Trace: is every requirement realized?

A trace view (TRACE) puts each requirement in a row with the function that satisfies it («satisfy») and the part that function is allocated to («allocate»). A requirement with nothing next to it is not realized yet.

Find it on the card Requirements: Trace System Requirements. SR-001 Heat to 90 degrees is satisfied by F1.1 Heat Water, which is allocated to Boiler. SR-014 Descale reminder is proposed: it is satisfied by F2.1 Remind to Descale, but nobody has approved it yet. The Brew Unit level has Trace Brew Unit.

For one requirement at a time, with where it comes from, use the requirement view, also on the card Requirements.

Interfaces table: which signals and ports are there, and where are they used?

The interfaces table (INTERFACES) lists the definitions behind the lines and ports, in sections: Signal groups (item def), Channels / ports (port def) and Interfaces / connections (interface def, connection def). The column Used at says where each definition is used; click its count to see the list.

Find it on the card Structure: Interfaces. The Brew Unit level has its own.

The Interfaces table of the coffee machine: the section Signal groups with Beans, BrewOrder, Coffee and more, and in the column Used at the ports that use each one

  • Search all columns… filters the rows; each column head has its own search field.
  • Expand all and Collapse all open and close the rows that have sub-signals.
  • Export CSV saves the rows shown as a file.

Arranged by hand or laid out automatically

PRISM lays out every diagram by itself and draws it again when the model changes. When someone has moved blocks or lines by hand, the positions are saved with the project and the diagram shows the pill Arranged by hand next to its title. In the coffee machine Context Machine, Structure Machine, Structure Groups and the three swimlane diagrams F1 Prepare Coffee, F2 Descale Coffee Machine and F3 Clean Coffee Machine are arranged by hand.

Click Arranged by hand to be asked whether to give the diagram back to the automatic layout. Nothing changes until you confirm, and the model itself is never changed by it. How to arrange a diagram: Edit mode.

Last updated 23 November 2026