Nine Relationships on C3
The C3 diagram contains eleven objects and no relationships. Create nine durable dependencies with three methods and bind them to the corresponding C2 relationships.
What a Structural Relationship Represents
A structural relationship represents a durable dependency, not a sequence of operations. Its arrow points from the element that knows and uses another to the element being used. Specific commands, responses, and payloads belong in the numbered steps of data flows.
Method 1: Left Panel
When using the left panel, select both the source and the element it uses. The first relationship connects the user application to the order processor.
For a cross-level dependency, select its parent C2 relationship. This creates a hierarchy: C2 retains the overview while C3 shows the implementing components.
Method 2: Context Menu
Select the source component and create an outgoing relationship from its context menu. The source is filled automatically; choose the target and describe the dependency's purpose.
Method 3: Shift
When both elements are visible, select the source, hold Shift, and select the
target. For an external dependency, also choose the corresponding parent C2
relationship.
Direction and Detail
The remaining dependencies state who knows about and relies on whom. Create two relationships to the order database, one for reads and one for writes. Both point toward the database because the service initiates the connection and the store does not know its clients.
Separating reads from writes makes it possible to trace which processes mutate data and which only query it. A data flow can later refer to the appropriate existing structural relationship.
Result
The diagram now contains eleven objects and nine relationships. Parent dependencies let users expand a C2 relationship to see the implementing C3 components without overloading the overview diagram.
Chapters
00:00— relationships on C3;00:15— relationship from the left panel;00:31— source element menu;00:47— quick creation with Shift;01:02— purpose of structural relationships;01:25— reads and writes;01:43— cross-level relationships;01:56— complete C3.
Previous lesson: Integration Components on C3.
Next lesson: Frontend C3 Structure.