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.
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.
The standard form requires you to select both the diagram type and the system of interest.
The easier path starts from C1. Open the context diagram.
Select the e-commerce system on the diagram.
On the Diagrams tab, select Create C2 Diagram.
The form already knows which system to detail. The diagram is created in the
General domain, so only its name and description are required.
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.
Add all selected elements in one operation. Existing model objects are reused, not duplicated.
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.
Enter Frontend, describe it as the application through which users interact
with the system, and select the UI/UX domain.
After saving, Frontend appears inside the dashed boundary of the system of interest.
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.
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.