When you draw the architecture of a system, a single diagram quickly becomes unreadable. Too many boxes for management, not enough detail for the technical team. The C4 model offers an answer: draw several diagrams, at different levels of detail.
This page introduces C4, then explains how Boreal Map applies a similar idea to processes.
What is the C4 model?
The C4 model was created by Simon Brown to describe software architecture. Its name comes from four words that start with the letter C: Context, Containers, Components, Code.
It defines four levels, from the most general to the most detailed:
- The software system (context): the system seen from afar, with the people who use it and the other systems it exchanges with.
- Containers: the large pieces that make up the system, for example a web application or a database.
- Components: the parts inside a container.
- Code: the detail of the classes and the code.
Each level reads on its own. You “zoom” from one level to the next, as on a map: the country, the region, the city, the street.
A short example
Take a room booking system. At level 1, you see the system, the employees who book and the email system that sends confirmations. At level 2, you see the web application and its database. At level 3, you see, inside the application, the booking module and the notification module.
At each level, a different reader finds what they are looking for. Management stops at the first. The technical team goes further down.
The three levels of Boreal Map
Boreal Map follows the same logic, from general to detailed, with three levels:
- Level 1, Architecture: the overview. The box shows its title and its owner.
- Level 2, Analysis: the steps and the rules. The box adds its description and its business rules.
- Level 3, Design: the technical details. The box adds the protocol and the message.
These three levels are not the four levels of C4. They are reading levels: they decide which fields a box displays. A box can also open a detailed view, which adds depth. For very large diagrams, levels 4 and 5 exist, but only if you draw them.
Boreal Map is mostly for describing processes and systems across teams, with the documentation inside each box. It does not try to replace a tool built around C4.
When to use C4, when to describe a process
- Use C4 when the question is: what is this software made of, and how do its parts talk to each other?
- Describe a process when the question is: who does what, in which order, under which rules?
The two overlap. A business process relies on systems. A C4 diagram says which systems exist, a process diagram says how people and systems use them. Boreal Map serves the second question better, with a step-by-step reading of the steps and the owners.
Reuse an existing C4 file
If you already have C4 diagrams, you can import them. Boreal Map reads Structurizr files (.dsl, or .json exported from Structurizr), PlantUML with C4 and Mermaid with C4.
A C4 file arrives in C4 notation. Each box shows its type and its technology, with its description. Each arrow shows its technology. The view has a C4 title and legend, also in the exports. Some elements, such as deployment elements, are not kept. The import report lists them.
The file arrives as a draft. You review it, then click “Validate”. You can remove the C4 notation from a view, or add it to another, in the “Properties” panel.
Frequently asked questions
How many levels does the C4 model have?
Four: the system (context), the containers, the components and the code.
Are the three levels of Boreal Map those of C4?
No. They follow the same idea, from general to detailed, but they set what each box shows when reading: title and owner at level 1, description and rules at level 2, protocol and message at level 3.
Can a C4 diagram be imported into Boreal Map?
Yes, from Structurizr, PlantUML or Mermaid. Only some diagram types are read: activity and component diagrams for PlantUML, flowcharts for Mermaid, with C4 in both cases.
Try it with one of your diagrams
Book a 30-minute call: see a demo.