Skip to main content

Frontend C3 Relationships

In the previous lesson, we restored seven internal components to Frontend C3. Now restore twenty-two dependencies from the shared model and verify their directions, generalized architectural names, and specific interaction details.

Full lesson walkthrough in the selected color theme.

Starting Point​

The diagram already contains twenty objects: thirteen context elements and seven Frontend components. All relationships are hidden, so they can be restored from the model without creating duplicates.

Loading image...
Twenty objects are ready for their dependencies to be restored

Relationship Catalog​

Select Add: Relationship. The catalog lists existing model dependencies that are not yet shown on this diagram. For each group, enter a distinctive fragment of its name or description.

Loading image...
Relationships are selected from the model and retain their identifiers

Inventory Events​

Begin with the three event-driven dependencies. The handler receives events from the inventory-management system and publishes them to the broker, while the online catalog consumes the messages. The arrows point toward the infrastructure because the broker does not know which components connect to it.

Loading image...
Message publication and consumption are shown from the broker clients' perspective

Data Access​

Add five read and write dependencies. Components know about their data stores and the external inventory-management system; databases do not point back to the services that use them.

Loading image...
The direction shows which component knows about the data store

User and Web Paths​

The actor interacts with the system through the UI. Within the web layer, the model separately represents delivery of the static application, the browser runtime, and HTTP routing to Backend, the catalog, and the authentication service.

Loading image...
The generalized name records the architectural interaction type
Loading image...
The specific operation remains in the description while the line is named by interaction type

Business Subsystems​

Backend calls the payment, notification, order, catalog, and authentication subsystems through REST APIs. This name remains valid when an individual business scenario changes, while each call's purpose stays in its description.

Loading image...
Five dependencies share one architectural interaction vocabulary

Cluster and Cache​

Finally, add Backend's dependencies on Hazelcast and Redis. The arrows run from the component to the infrastructure: Backend knows where to synchronize state and store cached data, while Hazelcast and Redis do not know their consumer.

Loading image...
The catalog counter confirms that all twenty-two relationships are selected

Result​

After you select Add, SysCraft restores every dependency and rebuilds the diagram. The completed Frontend C3 contains twenty objects and twenty-two relationships, all verified for this training model.

Loading image...
Complete topology with architecturally correct directions and names

Timeline​

  • 00:00 — Frontend C3 without relationships
  • 00:09 — Relationship catalog
  • 00:19 — Inventory events
  • 00:39 — Data
  • 01:07 — User interface
  • 01:24 — Static content
  • 01:45 — Authentication route
  • 02:10 — Orders
  • 02:22 — Synchronization
  • 02:31 — Redis
  • 02:44 — Complete topology
  • 02:50 — Overview

Previous lesson: Frontend C3 Components.

Next lesson: Notification Subsystem C3 Structure.