Architecture Elements
The Architecture Elements section describes the basic entities used to form an architectural model in SysCraft.
Architecture elements are used for:
- describing the structure of IT systems;
- defining responsibility boundaries;
- building diagrams at different levels of detail;
- designing interactions and data flows.
All architecture elements:
- always belong to a domain;
- are created and modified within a branch;
- are used and displayed on diagrams;
- participate in relationships and data flows.
Architecture elements are part of the overall SysCraft context model. The principles for working with contexts are described in:
Types of Architecture Elements
SysCraft uses a hierarchy of elements compatible with the C4 model:
Documented separately:
Relationships are not independent architecture elements and do not belong to a specific domain, so they are covered in a separate section.
Hierarchy and Purpose of Elements
Architecture elements are used to describe the structure and interactions of systems within a landscape. Each level of the hierarchy serves its own purpose and has clear boundaries of use.
Actors
An actor (Person) is a human, more precisely a user role of the system, not a specific individual (for example: Customer, Operator, Administrator).
Actors are used to show:
- who interacts with the system;
- in which role that interaction takes place.
The following are not actors:
- software systems;
- infrastructure components;
- databases;
- message brokers;
- external IT systems and their elements.
An actor:
- is located outside the system boundary;
- interacts with the system through user interfaces or communication channels (UI, push notifications, SMS, email, calls, etc.).
Actor naming should be role-oriented. If one person performs several roles, each role is shown as a separate actor.
Relationships between actors and systems represent key interactions, not step-by-step scenarios.
Systems
A system is a logically complete software solution that provides value to users or other systems.
A system:
- has a clearly defined responsibility boundary;
- implements business functions;
- interacts with actors and other systems.
Examples of systems:
- an online store;
- a payment platform;
- a CRM;
- a warehouse management system.
On C1-level diagrams:
- the system is shown as a single whole;
- internal implementation is not revealed;
- only external interactions and dependencies are shown.
The following are not systems:
- individual services;
- databases;
- infrastructure components.
Containers
A container is an executable or deployable part of a system.
Containers are used to describe:
- which major technical blocks the system consists of;
- how these blocks interact with each other.
Examples of containers:
- a backend application;
- a frontend application;
- a mobile application;
- an API service;
- a subsystem (a group of services);
- a database or DBMS (depending on the accepted granularity);
- a message broker or queue (depending on the granularity).
A container:
- belongs to exactly one system;
- has a defined technology or type;
- interacts with other containers and systems.
On container diagrams:
- the internal structure of the system is revealed;
- the main interaction channels are shown;
- the level of detail remains at the level of major blocks.
Depending on the adopted modeling convention, a group of tightly related services may be described as a single container (subsystem). In this case, individual services are modeled as components inside the container, which makes it possible to avoid excessive detail and preserve the integrity of the architectural representation.
Components
A component is a logical part of a container, identified to show its internal structure and areas of responsibility.
It is important to note that the concept of a component is not strictly fixed. What is modeled at the component level is determined by the architectural approach, the system scale, and the modeling goals adopted in a specific company.
Components may represent:
- internal modules or subsystems of a service;
- logical blocks of business functionality;
- technical parts of a container (adapters, handlers, integration modules);
- individual services, if they are considered parts of a larger subsystem.
In practice:
- for a small number of services, components often describe the internal structure of a service;
- for a large number of services, the component level is used to describe the composition of services and subsystems, without detailing classes or code.
A component:
- always belongs to a specific container;
- does not exist independently;
- reflects architectural responsibility rather than implementation, unless explicitly stated otherwise.
On component diagrams:
- the internal organization of the container is shown at the chosen level of detail;
- the focus is on interaction and distribution of responsibility.
Granularity and Usage
The depth of architectural detail in SysCraft and the C4 model is chosen intentionally and is not universal.
Different companies may decide differently on:
- which model levels to use;
- how deeply to expose the internal structure of systems;
- at which level to define services, subsystems, and modules.
The general principle is as follows:
- systems — for discussing architecture at the business level;
- containers — for technical design and integrations;
- components — for the level of detail needed to make architectural decisions.
At the same time:
- not all diagrams are required to use all levels;
- adapting the model to specific tasks is allowed;
- the chosen approach is recommended to be documented in the Modeling Convention.
This approach makes it possible to use architectural diagrams as an operational architecture tool, rather than as a static description.