Introduction
The C4 model helps teams describe software architecture through a small set of structural views: system context, containers, components, and code. Its focus is the static structure of software—what the system is, what it contains, and how its parts relate. The model also defines three supporting diagram types: system landscape, dynamic, and deployment. It is notation- and tooling-independent, so diagrams may use C4’s familiar boxes and arrows, UML, or another notation that communicates the subject clearly.
In practice, teams often supplement C4 with UML sequence, activity, state machine, or class diagrams, as well as entity-relationship diagrams. These are useful for aspects C4 does not set out to model in detail, such as message order, process logic, entity lifecycles, and database structure. The goal is not to create a diagram for every possible view. It is to choose a focused view when it answers a question the existing C4 diagrams leave open.

This guide uses a fictional Online Shop throughout. Its main C4 views include a Customer, a Web App, an Orders API, an Orders database, and external services such as a payment provider. Each PlantUML example stands alone and can be pasted into VPasCode.
1. How to choose a supplementary diagram
Start with the question—not the notation. A useful decision guide:

| Question | Diagram to consider |
|---|---|
| How do several systems fit into an organizational or technical landscape? | C4 system landscape |
| Which system elements collaborate in a use case? | C4 dynamic diagram |
| What messages pass between participants, and in what order? | UML sequence diagram |
| What are the process steps, decisions, or parallel paths? | UML activity diagram |
| What states can an entity enter, and what triggers transitions? | UML state machine |
| What are the important domain or code structures? | UML class diagram |
| What data is persisted and how are records related? | Entity-relationship diagram |
| Where does software run in a particular environment? | C4 deployment or UML deployment diagram |
Use a C4 dynamic view for a concise architectural interaction among elements. Use a sequence diagram when timing and message order matter; an activity diagram when the workflow and its decisions matter. Use a state machine for an entity’s lifecycle, not for a process involving many participants. Use a class or ER diagram only when structure is the question.
C4’s three supporting diagram types are landscape, dynamic, and deployment. The other examples below are supplementary notations, not additional official C4 diagram types.
2. Keep supplementary views connected to C4
A supplementary diagram should clarify one concern without becoming a disconnected second architecture model.
-
Name the C4 element being elaborated. For example, say the sequence diagram explains a checkout interaction involving the Orders API container.
-
Use consistent names. Match the system, container, component, and actor names used in the C4 views.
-
State the scope and scenario. Make clear whether the view shows one request, one lifecycle, one deployment environment, or a wider landscape.
-
Identify the abstraction level. A domain class model, code class diagram, and database schema are not interchangeable. Label which one the diagram represents.
-
Add a title and a key where needed. C4’s notation guidance recommends clear titles, explicit element types, labeled relationships, and keys for notation that is not self-explanatory.
-
Link related views. Put a reference beside the relevant C4 diagram or embed the supplementary view in the same documentation section.
C4 diagrams do not prescribe a specific color scheme, but any visual conventions should be consistent and understandable. If you use colors, shapes, or line styles to convey meaning, explain them in a key.
3. C4 system landscape diagram
A system landscape diagram shows multiple software systems within a chosen scope—for example, a department, business unit, or enterprise. It offers a wider view than a system-context diagram, which focuses on one software system and its immediate relationships.
This example uses simple PlantUML boxes and arrows. It is a landscape-style view, not a claim that PlantUML’s basic rectangle notation is a special C4 syntax.

@startuml
!include https://static.visual-paradigm.com/plantuml-stdlib/C4-PlantUML/master/C4_Context.puml
LAYOUT_LEFT_RIGHT()
LAYOUT_WITH_LEGEND()
skinparam vpDiagramType C4modelSystemLandscapeDiagram
skinparam defaultFontSize 14
skinparam defaultFontColor #333333
title System Landscape diagram for Online Shop
Person(customer, "Customer", "Browses the shop and places orders")
Person(agent, "Support Agent", "Handles customer requests")
Boundary(shopBoundary, "Online Shop") {
System(shop, "Online Shop", "Web shop front end and order management")
}
System_Ext(identity, "Customer Identity", "Customer authentication and profiles")
System_Ext(payment, "Payment Provider", "Authorizes payment transactions")
System_Ext(wms, "Warehouse Management", "Handles fulfilment of orders")
System_Ext(email, "Email Service", "Sends transactional notifications")
Rel(customer, shop, "Browses and places orders", "HTTPS")
Rel(agent, shop, "Handles customer requests", "HTTPS")
Rel(shop, identity, "Authenticates customers", "HTTPS/JSON")
Rel(shop, payment, "Authorizes payments", "HTTPS/JSON")
Rel(shop, wms, "Sends fulfilment requests", "HTTPS/JSON")
Rel(shop, email, "Sends notifications", "HTTPS/JSON")
@enduml Use it when: readers need to understand how several systems relate, which systems are external, or which people and services interact with a broader system landscape.
Keep it effective: define the landscape’s boundary, use system-level labels rather than implementation details, and make relationship labels specific. If readers need to understand one system in detail, link from the landscape to that system’s context diagram.
4. C4 dynamic diagram
A C4 dynamic diagram describes how elements collaborate to complete a particular use case. It is helpful for a short architectural interaction that can be explained with ordered steps.

@startuml
!include https://static.visual-paradigm.com/web/resources/plantuml-stdlib/themes/vp.puml
skinparam {
vpDiagramType CommunicationDiagram
nodesep 80
}
<style>
object {
MinimumWidth 80
}
</style>
left to right direction
title Online Shop — Place Order (Dynamic View)
object "Customer" as Customer
object "Web App" as Web
object "Orders API" as Orders
object "Payment Adapter" as Payments
object "Orders DB" as DB
object "Payment Provider" as Provider
Customer -[#blue]- Web : <color:blue>▶ 1: Submit checkout</color>\n<color:blue>◀ 8: Display result</color>
Web -[#green]- Orders : <color:green>▶ 2: Create order</color>\n<color:green>◀ 7: Return checkout result</color>
Orders -[#orange]- Payments : <color:orange>▶ 3: Request authorization</color>\n<color:orange>◀ 5: Return authorization result</color>
Orders -[#purple]- DB : <color:purple>▶ 6: Save order</color>
Payments -[#red]- Provider : <color:red>▶ 4: Authorize payment</color>\n<color:red>◀ 5a: Return authorization result</color>
@enduml 
Use it when: you want to show which architectural elements take part in a use case and the broad sequence of their collaboration.
Keep it effective: scope the view to a single scenario. If the order of messages, replies, or alternate paths needs more detail, use a sequence diagram instead. If the main subject is a decision-heavy process, use an activity diagram.
5. UML sequence diagram
A sequence diagram emphasizes messages exchanged over time. It is often the better choice when replies, branching paths, and participant interactions are central to the explanation.

@startuml
title Online Shop — Checkout Sequence
actor Customer
participant "Web App" as Web
participant "Orders API" as Orders
participant "Payment Adapter" as Payments
participant "Payment Provider" as Provider
database "Orders DB" as DB
Customer -> Web : Submit checkout
Web -> Orders : createOrder(cart)
Orders -> Payments : authorize(amount)
Payments -> Provider : authorize(amount)
Provider --> Payments : authorization result
alt Payment approved
Payments --> Orders : approved
Orders -> DB : save(order, CONFIRMED)
DB --> Orders : saved
Orders --> Web : confirmation
Web --> Customer : Show confirmation
else Payment declined
Payments --> Orders : declined
Orders -> DB : save(order, PAYMENT_FAILED)
Orders --> Web : payment issue
Web --> Customer : Show payment issue
end
@enduml

Use it when: the reader needs to trace message order, request and response behavior, synchronous interactions, or alternate outcomes.
Keep it effective: include only the participants and messages necessary to explain the scenario. Avoid turning the diagram into a transcription of every method call. Be explicit about important outcomes, but don’t invent behaviors that the system does not actually implement.
6. UML activity diagram
An activity diagram focuses on workflow logic: steps, decisions, and—when needed—parallel paths. It can describe a technical or business process without implying that each activity is a software component.

@startuml
title Online Shop — Order Fulfilment Workflow
start
:Receive confirmed order;
:Reserve inventory;
if (Inventory available?) then (yes)
:Request payment authorization;
if (Payment approved?) then (yes)
:Create fulfilment request;
:Notify customer;
else (no)
:Mark payment failed;
:Notify customer of payment issue;
endif
else (no)
:Mark order out of stock;
:Notify customer of delay or cancellation;
endif
stop
@enduml

Use it when: the process itself is the subject and readers need to understand the steps and decisions.
Keep it effective: use action labels that describe meaningful work, label decision outcomes clearly, and avoid mixing business process details with low-level architecture unless the diagram is specifically intended to show both.
7. UML state machine diagram
A state machine models the lifecycle of one kind of entity. The transitions represent events or conditions that move the entity from one state to another.

@startuml
title Online Shop — Order Lifecycle
[*] --> PendingPayment : order created
PendingPayment --> Confirmed : payment approved
PendingPayment --> PaymentFailed : payment declined
PaymentFailed --> PendingPayment : payment retry accepted
PendingPayment --> Cancelled : cancellation accepted
Confirmed --> FulfilmentRequested : fulfilment started
FulfilmentRequested --> Shipped : carrier accepts parcel
Shipped --> Delivered : delivery confirmed
Confirmed --> Cancelled : cancellation accepted
Cancelled --> [*]
Delivered --> [*]
@enduml

Use it when: rules about an entity’s permitted states and transitions matter—for example, an order, subscription, job, or approval request.
Keep it effective: use clear state names and label each transition with its triggering event or condition. If the main question is “who does what next?” rather than “what state is this entity in?”, an activity or sequence diagram may be more suitable.
8. UML class diagram
A class diagram shows static structure. It may model source-code classes or domain concepts; those are different things, so identify which the diagram represents. This example is a simplified domain model, not a claim about the application’s implementation.

@startuml
title Online Shop — Order Domain Model
class Customer {
customerId: UUID
email: String
}
class Order {
orderId: UUID
status: OrderStatus
createdAt: DateTime
total: Money
}
class OrderLine {
quantity: Integer
unitPrice: Money
}
class Product {
productId: UUID
name: String
}
enum OrderStatus {
PENDING_PAYMENT
CONFIRMED
PAYMENT_FAILED
SHIPPED
DELIVERED
CANCELLED
}
Customer "1" -- "0..*" Order : places
Order "1" *-- "1..*" OrderLine : contains
OrderLine "*" --> "1" Product : refers to
Order --> OrderStatus
@enduml
Use it when: domain concepts, relationships, or code-level structure are important to understanding a component.
Keep it effective: include only details relevant to the question. Don’t let a domain model be mistaken for a code diagram or database schema; make its purpose explicit in the title or accompanying text.
9. C4 or UML deployment diagram
A deployment diagram describes where software runs within a deployment environment. C4 deployment diagrams map software-system or container instances to deployment nodes; a node may represent physical, virtual, containerized, or execution-environment infrastructure. You can nest nodes, and include infrastructure such as load balancers or DNS when relevant.
This example uses UML-style PlantUML deployment elements:

@startuml
title Online Shop — Production Deployment
node "Customer Device" as Device {
artifact "Browser" as Browser
}
node "Cloud Region" as Region {
node "Web Tier" as WebTier {
artifact "Web App" as WebApp
}
node "Application Tier" as AppTier {
artifact "Orders API" as OrdersAPI
artifact "Payment Adapter" as PaymentAdapter
}
database "Managed Orders DB" as OrdersDB
}
cloud "Payment Provider" as Provider
Browser --> WebApp : HTTPS
WebApp --> OrdersAPI : HTTPS
OrdersAPI --> OrdersDB : SQL
OrdersAPI --> PaymentAdapter : internal call
PaymentAdapter --> Provider : HTTPS
@enduml
Use it when: architects, developers, or operations teams need to understand software placement and important runtime connections in a particular environment.
Keep it effective: name the environment—such as production, staging, or development—and show only the infrastructure details relevant to the audience. A deployment diagram is not necessarily a complete build or operations specification; add separate documentation for detailed configuration, availability, or deployment procedures where needed.
10. Entity-relationship diagram
An ER diagram focuses on persisted data: entities or tables, keys, and relationships. It is often more direct than a class diagram when the question is about the database.

@startuml
title Online Shop — Order Data Model
hide circle
skinparam linetype ortho
entity "CUSTOMER" as Customer {
* customer_id : UUID <<PK>>
--
email : VARCHAR
}
entity "ORDERS" as Orders {
* order_id : UUID <<PK>>
--
customer_id : UUID <<FK>>
status : VARCHAR
created_at : TIMESTAMP
}
entity "ORDER_LINE" as Line {
* order_id : UUID <<PK, FK>>
* line_no : INTEGER <<PK>>
--
product_id : UUID <<FK>>
quantity : INTEGER
unit_price : DECIMAL
}
entity "PRODUCT" as Product {
* product_id : UUID <<PK>>
--
name : VARCHAR
}
Customer ||--o{ Orders : places
Orders ||--|{ Line : contains
Product ||--o{ Line : appears in
@enduml
Use it when: readers need to understand tables or persisted entities, primary and foreign keys, and data relationships.
Keep it effective: show only the schema details needed for the discussion. An ER diagram describes the data model; it does not necessarily explain the domain behavior or the complete application object model.
11. Tooling workflow: Visual Paradigm, VPasCode, and AI assistance
VPasCode is a browser-based diagram-as-code workspace from Visual Paradigm. Its PlantUML support includes diagram types such as sequence, class, activity, deployment, state, and ER diagrams, and it provides a code editor with a rendered preview. Visual Paradigm also documents AI-assisted diagram generation and editing features in VPasCode; exact feature availability may depend on the current plan or edition.
A practical workflow is:

-
Choose the diagram and scope. Decide what question it answers and which C4 view it supplements.
-
Gather authoritative names and behavior. Use the existing architecture and requirements as the source of truth.
-
Draft the PlantUML. Write it directly in VPasCode or ask its AI feature to create an initial draft.
-
Constrain AI prompts. Specify diagram type, scope, participants, required branches, and which behaviors must not be assumed.
-
Render and inspect. Check that the code is valid and that the rendered diagram is legible.
-
Verify meaning with the team. Confirm that names, relationships, transitions, and message flows reflect the actual design.
-
Refine and preserve the source. Keep the PlantUML text with the related documentation or version-controlled project files, and review it when relevant architecture or behavior changes.
-
Export or share as appropriate. VPasCode documents options for exporting diagrams and sharing them; check the current tool interface and plan details for what is available to your team.
A useful AI prompt is specific and bounded:
Create a PlantUML sequence diagram for one checkout attempt. Use these participants: Web App, Orders API, Payment Adapter, Payment Provider, and Orders DB. Include approved and declined outcomes. Do not add retries, refunds, or other behavior unless specified.
Treat AI output as a draft. It can produce plausible-looking but incorrect participants, relationships, or branches; the architecture team remains responsible for validating the model.
12. Review checklist
Before publishing a supplementary diagram, check:
-
Purpose: Does the title or surrounding text make the question clear?
-
Scope: Is the system, environment, process, or scenario identified?
-
Consistency: Do names match the C4 views and project terminology?
-
Abstraction: Is this a system, container, component, domain, code, or database view?
-
Relationships: Are arrows and labels clear about direction and meaning?
-
Branches and states: Are important alternatives represented accurately?
-
Readability: Can readers follow it without a dense tangle of elements?
-
Maintenance: Is there a reason to update it, and a clear trigger for review?
-
Value: Does this view add understanding, or merely repeat existing documentation?
Conclusion
C4 supplementary diagrams fill gaps that structural architecture views are not intended to cover. Use a system landscape to show multiple systems, a dynamic diagram to show a concise collaboration, and a deployment diagram to show runtime placement. When more specialized detail is needed, use sequence, activity, state machine, class, or ER diagrams—and label what each one models.
PlantUML makes these views easy to draft and revise as text. Visual Paradigm and VPasCode can support the workflow with editing, previewing, and AI-assisted drafting, but clarity and correctness still depend on careful scoping and human review. The best supplementary diagram is not the most detailed one; it is the smallest accurate view that answers a real question and remains connected to the rest of the architecture documentation.