Skip to content
GabineteTools for thinking

No. 0370Product discovery and validation

Context Diagram

Tom DeMarco

Flat wood block inside a blue sewn circle; six external objects connected with paper gutters carrying ochre chips.

The table / Model card · No. 0370 · Product discovery and validation

Context Diagram

A single-view diagram showing a system as one box, the external actors and systems around it, and the data exchanged with each.

The essentials

What it is

What it solves

Projects often start without agreement on what is inside the system and who or what it interacts with. The diagram fixes the boundary and the external interfaces.

When to use it

Use it at the start of a systems or software project, when onboarding stakeholders, when scoping integrations, or when documenting an existing system's interfaces. It is also the first level before decomposing into detailed flow diagrams.

Where it comes from

The context diagram is the top level (level 0) of the data flow diagram technique from structured analysis in the 1970s, associated with practitioners such as Tom DeMarco and Gane and Sarson. It later became a common first view in systems engineering and architecture notations. No single originator is clearly attributable.

Tom DeMarco

How it works

The whole system is drawn as one central shape, with no internal detail. Around it are the external entities such as users, partner systems and data sources. Labelled arrows show what information or material moves between each entity and the system. Anything not drawn as inside the box is by definition outside the scope, which makes missing interfaces and scope disputes visible early.

You need

A clear system name and scope, a list of users and connected systems, and knowledge of what data passes each interface.

You get

A one-page diagram with the system, external entities and labelled data flows, plus a short list of interfaces.

Case

Illustrative case

The platform team at Lumenpay is building a new invoicing service. Architect Priya draws one box labelled 'Invoicing service'. Around it she places Customer portal, Accounting ERP, Tax authority API, Payment gateway and Finance staff. Arrows are labelled 'invoice request', 'posted ledger entry', 'tax submission', 'payment status'. In the review, the finance lead notices that credit notes from the ERP have no arrow, an interface nobody had planned. The team adds it and the sprint plan gains two stories. The diagram is stored in the repository and updated whenever an interface changes.

A fictional company used to explain the model.

Caution

When to avoid it

  • It does not show internal structure, sequence, timing or data volumes, so it is no basis for detailed design.
  • It also misleads if drawn once and not kept in step with real interfaces.

Common mistakes

  • Putting internal components inside the box.
  • Leaving arrows unlabelled.
  • Forgetting human actors or batch feeds.
  • Not agreeing where the boundary lies.

Known weaknesses

  • Shows no internal structure or timing.
  • Becomes outdated when interfaces change.
  • Notation varies between schools of practice.
  • Can hide complexity inside a single box.

How to apply it in 5 steps

How to apply it

Context Diagram

5 steps

Use the arrow keys to move between steps, Home and End for the first and last, and Enter to fold or unfold the booklet.

View all 5 steps
  1. Name the system and set its boundary

    State what is inside and what is not.

  2. List external entities

    Identify every user group, system and data source that interacts with it.

  3. Identify flows

    For each entity, define the data or material exchanged and its direction.

  4. Draw the diagram

    Place the system centrally, entities around it, with labelled arrows.

  5. Review with stakeholders

    Check for missing interfaces and confirm scope.

Which decisions it helps with

Decision profile

Keyboard: Tab to the sheet, use the arrows to explore the assessments and their questions, and press Escape to close the note.

IIIResources required

  • TimeOne session (half a day or a full day)
  • PeopleA small group (2 to 8)
  • DataA few readily available facts
  • ExpertiseAnyone who has read a page of instructions
  • Time horizonA few months
  • ScopeOne team
  • FrequencyOccasionally
View full profile

Preliminary assessment: few details on this model card have been verified.

IIdentity

Type of tool
Map or diagram
Decision stage
Reach agreement
What it applies to
A product or service
Discipline
Systems thinking
What it produces
A map of relationships, flows or causes

IITen axes

The dot shows which end the model favours. A hollow dot means no clear preference.

  • DirectionmixedExecution
  • Top-downBottom-up
  • PeopleProcesses
  • Generate optionsNarrow down options
  • Step-by-step analysisIntuition and experience
  • A strict sequence of stepsA flexible framework
  • Protect what we haveTake a risk
  • Improve what we haveFundamental change
  • Inside the organisationOutside the organisation
  • Understand firstAct now

IVUseful when

Applicable traits

  • How it builds agreementBuilds a shared picture or map together
  • Product stageIdentifying a problem to solve
How was this profile calculated?

An automated system reads each model card and answers the same questions for every model. This profile has answers for 77 of 77. No answers are entered by hand.

A very high probability counts as “yes” and a very low one as “no”. Intermediate answers are hidden.

On the axes, mixed means the model favours neither end.

How it works →

Thinking space

Product discovery and validation

They create product under uncertainty: discovery, design sprints, A/B experiments and small bets before building.

Membership: 21 % · also “Team alignment” (18 %)

View in the atlas of spaces →

Each point is a model. Distance reflects answers to the decision questions. Light points share this model’s space.

Similar models

Sources

Use the arrow keys to move between sources.

Original work

  1. DeMarco, T. (1978). Structured Analysis and System Specification. Yourdon Press.Wikipedia (Structured analysis) lists DeMarco's 1978 Yourdon Press book, whose method includes the context diagram as its top-level view; not proven to be the first use of the term.View source: Structured Analysis and System Specification (opens in a new tab) ↗

Key development

  1. Gane, C. and Sarson, T. (1979). Structured Systems Analysis: Tools and Techniques. Prentice-Hall.Wikipedia (Data-flow diagram) credits Gane and Sarson's 1979 book with a parallel DFD notation and hierarchical decomposition from the context level.View source: Structured Systems Analysis: Tools and Techniques (opens in a new tab) ↗

Practical guide

  1. contributors, W. (2025). Context diagram. Wikipedia.Overview.View source: Context diagram (opens in a new tab) ↗

The catalogue does not yet list a published critique of this specific model.

Wikipedia article (opens in a new tab) ↗