Diagrams guide

Drawing a system diagram anyone on the team can read

A system diagram shows the people, apps, services and data stores in a system, and how they connect. Keep it to one level of detail and label every line.

Diagrams · · 4 minute read

The short answer

  • Start with the people who use the system, and work inwards.
  • Label each line with what passes along it.
  • Draw one level of detail per diagram, and make another for the rest.

A finished example

This is what the System diagram template can look like once it is filled in. This one is for an online shop’s systems.

An example made up for this guide. Your own board starts with the headings and prompts, and you add the notes.
Read the example as words
On the board
Person: People
Web page: Website
Phone app: Phone app
Server: Service
Database
File store
Payment service
Notes
Orders go from the app to the service
Photos live in the file store
Card details go only to the payment service
How the boxes are joined
People leads to Website
People leads to Phone app
Website leads to Service
Phone app leads to Service
Service leads to Database
Service leads to File store
Service leads to Payment service

What a system diagram is for

Any piece of software beyond the simplest is made of parts. There may be a website, a phone app and a service that does the processing. There is somewhere to keep data, and other companies' services that it relies on. A system diagram shows those parts and how they connect.

Its purpose is shared understanding. A new developer uses it to find their way around. A manager uses it to see what depends on what. A security reviewer uses it to ask where sensitive data travels. A supplier uses it to see where their part fits.

Without a diagram, that knowledge lives in a few people's heads. When they are away, or leave, it goes with them.

A good system diagram is simple. It is not a complete technical record. It is a map, and like a map, it leaves things out so that the main shape is clear.

It is useful when planning something new, explaining something that exists or working out the effect of a change.

The building blocks

Most system diagrams use a small set of parts.

People. Who uses the system? Show each kind of user, such as customers and staff.

Apps. What do people use directly? A website and a phone app are the usual ones.

Services. What runs behind the scenes? A service takes requests from the apps, applies the rules and returns answers.

Data stores. Where is information kept? A database holds structured records, such as customers and orders. A file store holds documents and images. Both are commonly drawn as cylinders.

Outside services. What does the system rely on that others run? Payment, email and maps are common examples. These are often drawn as clouds.

Lines join the parts. A line means that two parts talk to each other. An arrow shows which one starts the conversation.

Use the same shape for the same kind of thing throughout. That consistency is what lets someone read the diagram without a key.

Drawing it clearly

Begin with the people, on the left. Add the apps they use next to them. Then add the services, then the data stores and outside services. Reading from left to right, a request travels inwards.

Name every part in plain words. "Booking service" tells a reader more than a code name.

Label the lines. Say what passes along each one. "Booking requests" or "card payments" turns a line into information.

Choose one level of detail and keep to it. A diagram that shows whole services beside individual pieces of code confuses. If a service needs explaining, give it a diagram of its own.

Keep it uncluttered. Lines should cross as little as possible. If the page fills up, you are probably showing too much. Ten to fifteen parts is a sensible limit.

Add a title and a date. Systems change, and an old diagram presented as current does harm.

Keeping it useful, and the template

Review the diagram with the people who build and run the system. They will spot what is missing or out of date.

Use it to ask questions. What happens if this part fails? Where does personal data go? Which outside service could we not do without? Record the answers beside the diagram.

Update it whenever the system changes. Make that part of finishing any piece of work.

The System diagram template on doodleboard shows a sample system. People connect to a website and a phone app. Both connect to a service. The service connects to a database, a file store and an outside service. A notes frame at the side starts with a prompt about what data moves where.

Rename each shape for your own parts. Add or remove shapes and redraw the arrows. Then use the notes frame to describe the data that passes along each connection.

To add a part, select Shapes in the toolbar, then select Shapes again. On the Software tab there is a person, a web page, a phone app, a server and a queue. There are five more, such as a component, which stands for one part of a larger program.

Questions people ask

How much detail should a system diagram include?

Enough to show the main parts and how they connect, and no more. If a reader needs detail about one part, draw a second diagram for it. One level of detail per diagram keeps each readable.

Who is a system diagram for?

Anyone who needs to understand the system: developers, testers, managers, security reviewers and suppliers. Write labels in plain words so that people outside the technical team can follow it too.

How do we keep it up to date?

Make updating it part of finishing any change to the system. Put a date on it. Review it every few months with the team, and correct whatever has drifted.

Templates for diagrams and mapping

Put it on a shared whiteboard

Start for free with one board and up to three people, or try every feature for 7 days.

Start for freeSee pricing