Level 1 — System Context
C4 Level 1: System Context Diagram
Purpose
The Context diagram is the most zoomed-out view. It shows:
- The system being built (Train.md)
- Who uses it (actors/personas)
- What external systems it interacts with
Audience: Everyone — technical and non-technical stakeholders alike.
Train.md Context Diagram
flowchart LR
subgraph External
search["🔍 Search Engines"]
github["📦 GitHub"]
end
dev["👨💻 Developer"] --> web["📄 Train.md\n(Documentation Site)"]
pm["📋 Product Manager"] --> web
web --> search
web -.->|hosted on| githubElements
| Element | Type | Description |
|---|---|---|
| Developer | Person | Primary user; reads/writes documentation |
| Product Manager | Person | Consumes documentation for planning |
| Train.md | System | Static documentation site |
| Search Engines | External System | Index and surface content |
| GitHub | External System | Hosts source and may serve pages |
Checklist for Context Diagrams
- All user types/personas identified
- External systems and integrations listed
- Relationships labeled with purpose
- Scope boundary is clear