Context diagram

A diagram that puts the system or project in the middle and shows the outside parties it exchanges information with.

What is a context diagram?

The system is one circle in the center. Around it are external entities: people, organizations, or other systems. Arrows show what flows in and out, such as orders, payments, or reports.

Anything inside the circle is in scope; the entities outside are not built or changed by the project. That makes it a quick way to agree on the scope boundary and on the interfaces that need work.

Example context diagram: An order system in the middle, four outside parties around it (customer, payment provider, warehouse, accounting), and the information that flows between them.
  1. System. What the project builds or changes.
  2. External entity. A party outside the scope.
  3. Flow. Information going in or out.
  4. Boundary. The line between in scope and out of scope.

When to use a context diagram

Good fit

  • The start of a software or process project
  • Agreeing on scope with stakeholders
  • Listing the interfaces that need work
  • Explaining a system to new team members

Consider something else

Advantages and limitations

Advantages

  • Makes the scope boundary explicit
  • Shows every interface at once
  • Readable by non-technical people
  • Quick to draw

Limitations

  • No detail about what happens inside
  • Can miss flows nobody thought of
  • Only one level of detail
  • Needs updating when interfaces change

Tools for making a context diagram

Any diagram or whiteboard tool works; the value is in the conversation while drawing it.

Diagram software

For a maintained version.

Hover over a tool to see how it makes the chart; each tool’s page has the details. Built in: part of the product. Template: ready-made, you fill it in. Build it yourself: made with shapes, tables, or standard charts. Add-on: needs an add-on, integration, or paid module. Data only: keeps the data; the chart is drawn elsewhere.

Tools are grouped by how teams work, not ranked. Features and plans change, so check the details on each vendor’s site.

FAQ

What is the difference between a context diagram and a data flow diagram?

A context diagram is the top level of a data flow diagram: the whole system as one process. Lower levels open it up to show the processes inside.

Should users be external entities?

Yes. People who use the system but aren't part of it, such as customers, are external entities that send and receive information.

How many entities should it show?

All the parties that exchange information with the system, usually 3 to 10. More than that suggests the scope is very wide.