Payments, Orders, and Notifications on C2
A single C2 diagram can contain containers from different domains. In this lesson, add payment, order, and notification subsystems in three ways: from the left panel, with keyboard shortcuts, and from the Structure tab.
Starting Point
The diagram already contains its external context and the Frontend container
in the UI/UX domain. The new containers also belong to E-Commerce, but each
will have its own responsibility domain.
A structural C2 diagram details one system, so Belongs to System is filled
automatically and locked. Every container created here belongs to E-Commerce.
On a dynamic diagram with no system of interest, this field remains selectable.
From the Left Panel
Select New: Container. Enter Payment management subsystem and describe its
responsibility for payment management.
In Domain, type part of the domain name and select Payments.
After saving, the container appears inside the E-Commerce boundary.
With the Keyboard
For the second container, press A. The left panel displays numbered shortcuts
for the available element types. After a brief pause, press 3 to open the
container form.
Enter the name of the order-management subsystem. Use Tab to move to the
description and save with Ctrl + Enter or ⌘ + Enter.
From the System Structure
Select the e-commerce system, open Structure, and select Create New Container. This is the simplest path when the parent is already selected; the system field is filled automatically.
The contextual form initially shows the most relevant domains. Select Show
All to open the complete list, then find the Notifications domain.
After saving the third container, the diagram contains twelve unconnected elements. The next lesson adds the technical infrastructure.
Chapters
00:00— three containers;00:07— left panel;00:39— keyboard-driven creation;00:52— order subsystem;01:12— selecting the system;01:17— creating from Structure;01:46— result.
Previous lesson: C2 and the First Container.
Next lesson: Infrastructure on C2.