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
Sheet 2/4
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.
Sheet 3/4
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.
Sheet 4/4
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
01of 5
Step 1 of 5: Name the system and set its boundary
State what is inside and what is not.
01
02of 5
Step 2 of 5: List external entities
Identify every user group, system and data source that interacts with it.
02
03of 5
Step 3 of 5: Identify flows
For each entity, define the data or material exchanged and its direction.
03
04of 5
Step 4 of 5: Draw the diagram
Place the system centrally, entities around it, with labelled arrows.
04
05of 5
Step 5 of 5: Review with stakeholders
Check for missing interfaces and confirm scope.
05
Click to unfold
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
01
Name the system and set its boundary
State what is inside and what is not.
02
List external entities
Identify every user group, system and data source that interacts with it.
03
Identify flows
For each entity, define the data or material exchanged and its direction.
04
Draw the diagram
Place the system centrally, entities around it, with labelled arrows.
05
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)The questionHow much time can you spend on this?Assessment · One session (half a day or a full day) · confidence 68 %
PeopleA small group (2 to 8)The questionHow many people will take part?Assessment · A small group (2 to 8) · confidence 84 %
DataA few readily available factsThe questionWhat data do you have available?Assessment · A few readily available facts · confidence 93 %
ExpertiseAnyone who has read a page of instructionsThe questionDoes anyone have experience with methods like these?Assessment · Anyone who has read a page of instructions · confidence 80 %
Time horizonA few monthsThe questionHow far ahead do you need to plan?Assessment · A few months · confidence 88 %
ScopeOne teamThe questionWho will this decision affect?Assessment · One team · confidence 65 %
FrequencyOccasionallyThe questionIs this a one-off decision or something you expect to repeat?Assessment · Occasionally · confidence 82 %
View full profile
Preliminary assessment: few details on this model card have been verified.
IIdentity
Type of tool
Map or diagramvery likely
The questionWhat kind of tool is it?Assessment · Map or diagram · 99 %
Decision stage
Reach agreementvery likely
The questionWhat stage of the decision are you at?Assessment · Reach agreement · 94 %
What it applies to
A product or servicevery likely
The questionWhat is the decision about?Assessment · A product or service · 99 %
Discipline
Systems thinkinglikely
The questionWhich discipline does it come from?Assessment · Systems thinking · 80 %
What it produces
A map of relationships, flows or causesvery likely
The questionWhat kind of tool is it?Assessment · A map of relationships, flows or causes · 99 %
IITen axes
The dot shows which end the model favours. A hollow dot means no clear preference.
DirectionmixedExecutionThe questionAre you setting direction or improving day-to-day operations?Assessment · no clear preference (probability is spread across several levels)
Top-downBottom-upThe questionShould leadership set the direction, or should the answer come from the people doing the work?Assessment · Both equally · confidence 54 %
PeopleProcessesThe questionIs this mainly a people problem or a process problem?Assessment · Processes · confidence 71 %
Generate optionsNarrow down optionsThe questionDo you need to generate more options or narrow them down?Assessment · Mostly narrow down options · confidence 64 %
Step-by-step analysisIntuition and experienceThe questionWould you rather work through the evidence step by step or draw on the group’s experience?Assessment · Mostly analysis · confidence 64 %
A strict sequence of stepsA flexible frameworkThe questionWould you prefer a precise set of steps or a framework you can adapt?Assessment · Mostly prescribed steps · confidence 50 %
Protect what we haveTake a riskThe questionDo you need to protect what you have or take a chance on something new?Assessment · Protect what we have · confidence 69 %
Improve what we haveFundamental changeThe questionDo you want to improve what you have or change it fundamentally?Assessment · Mostly incremental improvements · confidence 16 %
Inside the organisationOutside the organisationThe questionWhere do you expect to find the answer, inside your organisation or in the market?Assessment · Both equally · confidence 42 %
Understand firstAct nowThe questionDo you need to understand the situation first or act now and learn as you go?Assessment · Mostly understand first · confidence 61 %
IVUseful when
Applicable traits
How it builds agreementBuilds a shared picture or map togetherThe questionHow does it help people reach agreement?Assessment · Builds a shared picture or map together · 100 %
Product stageIdentifying a problem to solveThe questionWhat stage is your product at?Assessment · Identifying a problem to solve · 87 %
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.
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) ↗