Skip to main content

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.

Three ways to create payment, order, and notification containers on C2.

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.

Loading image...
The external context and Frontend were prepared in the previous lesson

From the Left Panel​

Select New: Container. Enter Payment management subsystem and describe its responsibility for payment management.

Loading image...
The new container is assigned to E-Commerce automatically

In Domain, type part of the domain name and select Payments.

Loading image...
Payment responsibilities are assigned to the Payments domain

After saving, the container appears inside the E-Commerce boundary.

Loading image...
The first container was created from the left panel

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.

Loading image...
The number 3 creates a container

Enter the name of the order-management subsystem. Use Tab to move to the description and save with Ctrl + Enter or ⌘ + Enter.

Loading image...
The container belongs to the Orders domain
Loading image...
The second container was saved without returning to the mouse

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.

Loading image...
A container is created directly from the selected system's structure

The contextual form initially shows the most relevant domains. Select Show All to open the complete list, then find the Notifications domain.

Loading image...
The contextual list contains domains from the diagram and parent system
Loading image...
Show All adds the remaining landscape domains to the list

After saving the third container, the diagram contains twelve unconnected elements. The next lesson adds the technical infrastructure.

Loading image...
Payments, orders, and notifications belong to separate domains

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.