Skip to main content

C2 and the First Container

A C1 diagram places a system among its users and external dependencies; C2 reveals its internal structure. In this lesson, create a C2 diagram, add the external context, and create the first container.

Create a C2 diagram from a selected system and add its first container.

Two Ways to Create a C2 Diagram​

On the model management page, you can use the general Create action. With this method, select the diagram type and the system whose internal structure you want to show.

Loading image...
The general create action appears above the list

The standard form requires you to select both the diagram type and the system of interest.

Loading image...
This method requires the diagram type and system of interest to be selected manually

The easier path starts from C1. Open the context diagram.

Loading image...
The e-commerce system appears among its users and external dependencies

Select the e-commerce system on the diagram.

Loading image...
Selecting the element reveals its properties and related diagrams

On the Diagrams tab, select Create C2 Diagram.

Loading image...
The action for creating C2 appears in the system properties panel

The form already knows which system to detail. The diagram is created in the General domain, so only its name and description are required.

Loading image...
The diagram type, system, and domain are filled automatically

External Context​

After saving, SysCraft opens the new C2 diagram and places the system of interest on it. Select Open Full Catalog, then choose the customers, administrator, and external systems. For every relationship, the catalog also shows the source type and name, an arrow, and the target type and name. This distinguishes relationships that share the same label.

Loading image...
The external context is selected from objects already present in the model

Add all selected elements in one operation. Existing model objects are reused, not duplicated.

Loading image...
Users and external systems surround the system of interest

First Container​

Select New: Container. SysCraft automatically assigns the container to the E-Commerce system. Because this is a structural C2 diagram, Belongs to System is filled in and locked: containers created here must belong to the system of interest.

A dynamic diagram that does not detail a specific system has no such restriction; its container form allows the parent system to be selected.

Loading image...
The parent system is determined by the diagram context

Enter Frontend, describe it as the application through which users interact with the system, and select the UI/UX domain.

Loading image...
The container belongs to UI/UX while remaining part of E-Commerce

After saving, Frontend appears inside the dashed boundary of the system of interest.

Loading image...
The system boundary separates the internal container from the external context

The diagram now contains nine unconnected elements: the system, its first container, and seven external-context objects. The next lessons add the remaining containers and then connect the elements.

Loading image...
The diagram contains the external context and the system's first container

Chapters​

  • 00:00 — moving to C2;
  • 00:05 — standard creation path;
  • 00:18 — context diagram;
  • 00:24 — selecting the system;
  • 00:30 — creating C2;
  • 00:52 — the new C2 diagram;
  • 01:13 — first container;
  • 01:48 — result.

Previous lesson: Responsibility Domains.

Next lesson: Payments, Orders, and Notifications on C2.