L1 System Context Diagram Example
Section titled “ L1 System Context Diagram Example”The L1 Context diagram shows one System, its actors (people), and the other Systems it exchanges messages with. It sits one level below the System Landscape (L0) and is the most accessible C4 view for non-technical audiences. New 7.12 An L1 has exactly one System as its Architectural Scope, and that System is the diagram's subject.
This page is example 2 of the six Order-to-Cash C4 examples. See Example C4 Diagrams for an overview of all diagram types and when to use each.

Animated walkthrough: the L1 Context from the markup below, scoped to the Portal, and Inside to the L2 Container scoped to it.
Scope for This Example
Section titled “Scope for This Example”| Example | Diagram type to pick in the import | Architectural Scope | Subject | When it is set | Needed before Promote |
|---|---|---|---|---|---|
| Portal — System Context | Context | System Portal | (the scope) | in the import wizard's Scope step: pick the System; Next stays disabled until you do | ✅ Yes |
New 7.12 The import wizard has a Scope step for a Context diagram: pick the System Portal there. A scope is always one System and is required before the diagram can be promoted to Active. To change it later, use Set Architectural Scope in the Designer.
When to Use
Section titled “When to Use”- ✅ Onboarding stakeholders: executives, business analysts, board members
- ✅ Showing who and what one System talks to before zooming into L2
- ✅ Documenting the System's integrations, with the Message Types they carry
Example: Portal — System Context
Section titled “Example: Portal — System Context”This example uses the Order-to-Cash (O2C) demo data and puts the Portal at the centre. In the demo, the Portal exchanges messages only with the Customer and with ERP, so ERP is drawn as a System_Ext neighbour. New 7.12 Each relation names the sender's Message Type after the / in its technology.
| Preview | Mermaid Code |
|---|---|
|
C4Context
title Portal — System Context
Person(customer, "Customer", "Places orders and receives order confirmations")
System(portal, "Portal", "Receives customer orders and delivers order confirmations")
System_Ext(erp, "ERP", "Enters orders and schedules production")
Rel(customer, portal, "Places orders", "HTTPS")
Rel(portal, erp, "Forwards the order", "XML / O2C.Forwarding/1.0")
Rel(portal, erp, "Sends the confirmation for planning", "CSV / O2C.Order.Confirmation/1.0")
Rel(erp, portal, "Returns the order entry", "XML / O2C.Order.Entry/1.0")
|
|
What Each Element Binds To
Section titled “What Each Element Binds To”| Markup element | Macro | Binds to | Status in Review & Resolve |
|---|---|---|---|
| Portal | System |
The System Portal, the diagram's scope | Matched |
| ERP | System_Ext |
The System ERP | Matched |
| Customer | Person |
A System with the C4 Type Person | New: Resolve All creates it |
O2C.Forwarding/1.0, O2C.Order.Confirmation/1.0, O2C.Order.Entry/1.0 |
text after the / in a Rel technology |
New 7.12 The Message Types of exactly that name, in the Message Type column | Resolved |
HTTPS |
technology without a / |
The Flow's protocol only | Kept as text |
New 7.12 The three relations between Portal and ERP become one connector with three Flows, one per relation: Portal sends O2C.Forwarding/1.0 and O2C.Order.Confirmation/1.0, and ERP returns O2C.Order.Entry/1.0. See Drawing Connectors for how Flows work.
Navigation From the L1
Section titled “Navigation From the L1”New 7.12 The pills are inferred when the diagram opens, inside the set, with nothing stored:
- Portal offers Inside (Portal's L2) and Dynamic (the Dynamics it takes part in).
- ERP offers Inside and Context for ERP, once the set holds ERP's L2 and L1.
- The diagram itself offers Zoom out to the L0 that holds Portal.
See Navigation Between C4 Diagrams for every pill.
Next Steps
Section titled “ Next Steps”- L2: Container Diagram Example — Zoom into the Portal
- Build the Order-to-Cash C4 set
- Order-to-Cash C4 Examples
- Import Your First C4 Diagram
Related Topics
Section titled “ Related Topics”- Example C4 Diagrams — Overview of all diagram types
- System Landscape Example — All four O2C Systems in one view
- O2C Demo — C4 Architecture Diagrams — How the O2C log events map to C4 elements
- Navigation Between C4 Diagrams
- What is C4 Diagrams?