Context Diagrams
Context Diagrams
A context diagram outlines how external entities interact with an internal software system.
It’s primarily used to help businesses wrap their heads around the scope of a system. As a
result, they can figure out how best to design a new system and its requirements or how to
improve an existing system.
Context diagrams are high-level diagrams, meaning they don’t go into the detailed ins and outs
of the system. Instead, they map out an entire system in a way that’s simple, clear, and easy
to understand.
For example, arrows are used to represent the flow of data between the system and each
external element.
Whether you’re a seasoned developer or a complete technophobe, everyone can understand
how the system works.
Use case for a context diagram: A hotel reservation system
Let’s use an example of a context diagram to demonstrate how it works.
Imagine you’re a hotel manager. You want to upgrade your online hotel reservation system to
provide a better experience for customers. To do this, you use a context diagram.
Page 1 of 8
Context diagrams focus on how external entities interact with your system. It’s the most basic
form of a data flow diagram, providing a broad view of the system and external entities in an
easily digestible way. Because of its simplicity, it’s sometimes called a level 0 data flow
diagram.
Data flow diagrams contain additional information about a system that a context diagram
doesn’t.
They focus on how your system works (the inputs, outputs, and processes) to offer more detail
and depth. With the help of a data flow diagram tool teams can visualize the four main
components of a system: the entities, processes, data stores, and data flows.
Page 2 of 8
With Miro, choose whatever shape works best for you
We even have a ready-made context diagram template so you can jump straight in and get to
work.
Reduces risks
Context diagrams allow you to plan how your system interacts with external
entities before going live. This gives you the chance to identify potential issues before they
happen and put preventative measures in place.
As a result, you mitigate risks and reduce the likelihood of problems after launch.
Let’s use an ATM system as an example.
You create a context diagram to outline how your banking ATM process will work. The
diagram shows all the external units that interact with the ATM system and how data flows
between them.
Page 3 of 8
(Image Source) ATM context diagram
By doing this, you can see the single process as a whole and identify any potential issues
with the system. And because the diagram is so flexible, you can easily make changes.
Enables collaboration
Having a context diagram in place makes it easier for your team to collaborate.
Think about it. You can share the diagram with anyone you want. From colleagues to
management and even key project stakeholders, everyone can be involved in the process.
You can take everyone’s feedback into account and make the necessary changes to
accommodate their perspectives. And if you’re using a collaborative platform, you can
easily share your diagram virtually and collaborate on the same diagram in real-time.
By collaborating throughout the process, you’re far more likely to achieve the best software
structure possible. Everyone has different ideas and perspectives to bring to the table, giving
you a wide variety of perspectives to take into account.
Let’s use the ATM example again. In your ATM context diagram, you can see that the control
system connects to your ATM. But how exactly does the control system work with your ATM?
And what’s involved in the control system itself?
A control system is one of the key infrastructures in your banking network, so it’s pretty
complex. To fully understand the ins and outs of this system, you’ll need a more in-depth
diagram, like a data flow diagram.
So although a context diagram helps visualize the top-level structure of your systems, it
sometimes lacks the depth and detail you need to fully understand how everything works
together.
Time-consuming
Creating the actual diagram itself can be a time-consuming process, especially if you’re using
a platform like Word or Excel.
Although you can create context diagrams in these programs, they’re not quite as intuitive as
some online platforms. Not only does this make the process longer, but it also makes it
harder for you to collaborate with your team.
Speaking of collaboration, this process can also be quite laborious, particularly if you have a
lot of people working on the diagram. You’ll need to review all their feedback and make the
required changes, meaning it can sometimes take a while to get to the final diagram.
If you want to save time and streamline the diagram creation process, consider using an
intuitive platform like Miro that has a ready-made template.
Page 4 of 8
When should you use a context diagram?
A context diagram is helpful in a variety of situations. Here are some of the common scenarios:
• Implementing or updating software: A context diagram helps you figure out how new systems
will work or how to improve existing systems.
• Reviewing a business process: During the discovery phase of an upcoming project, a context
diagram can outline how the business system relates to other systems. This makes sure that your
systems and processes align with business requirements.
• Tackling resource management: Teams can use the context diagram to better understand how
their budget should be spent and what resources are needed in different areas of the business.
This is particularly helpful when it comes to identifying a project scope.
These are just a few key examples of when to use a context diagram.
Ultimately, you can use this diagram whenever you want to visualize how your system relates
to external units — whether that’s to review your software or business processes.
Page 5 of 8
The center of a context diagram
Although this is the way most context diagrams are structured, it doesn’t mean you have to do
it the same way. For example, you might prefer the system to sit at the top of the diagram and
feed downwards to the external elements.
Create your diagram in a way that best illustrates your system.
3. Add your external entities
Now that the system is in place, you can start to add the external elements.
Using squares, rectangles, or any other shapes you want, you can list external entities that
interact with the system.
Page 6 of 8
External entities of a context diagram
They’ll be placed around the center, ready for you to add arrows in the next step.
4. Use arrows to outline the data flow
With all the elements on the diagram, it’s time to add arrows to create the direction of the data
flow. This will show how the external elements interact with the system.
You’ll also have labels alongside the arrows to show the relationship between the two entities.
Remember that data can flow both ways in the diagram. Using a double-ended arrow illustrates
this.
5. Share the finished diagram
When the diagram is done, it’s time to share it with the relevant parties to get feedback. Here
are some of the people you might want to share it with:
Arrows display the relationship between external entities and the main system
• Team members: If there are team members that will be directly affected by changes to an existing
system, or the implementation of a new system, they should have their say in how it performs.
After all, they’re the ones that are likely to use it regularly.
• Management staff: Most of the time, you’ll need big changes like this to be signed off and
approved by high-level management.
• Key stakeholders and shareholders: If you’re making big changes to company processes that
can impact the financial success and performance of the business, chances are there will be some
stakeholders and shareholders that will need to sign it off.
Page 7 of 8
6. Make any necessary changes
When you’ve got all the feedback you need, make the necessary changes to the diagram.
You’ll probably need more than one round of feedback, especially if you’re getting input from
various people across the business. Again, this is where using a collaborative platform can be
helpful.
If you have a lot of back-and-forth conversations via email, for example, you might lose track
of all the feedback. It’ll also be hard to keep on top of which version of the diagram is the most
up-to-date.
Unlike sharing your diagram as a document via email, a tool like Miro is based online. This
means that all the edits and suggestions will be uploaded to the diagram in real time. You won’t
miss any key information, and you can be sure that the version you’re looking at is the most
up-to-date.
You can even have a group discussion with a video chat while reviewing the diagram.
Simply put, using a collaborative tool will help you manage the review process as efficiently as
possible.
Page 8 of 8