Diagram Types
SysCraft supports several diagram types for describing an IT solution at different levels of abstraction—from a C4 system context to business processes, data structures, and domain models.
After choosing a type, follow the Create a Diagram guide. For an existing diagram, use the diagram tools to add elements, data flows, documentation, chats, and access settings.
Core Types
The available set may depend on your environment configuration and your organization's modeling conventions.
| Type | Purpose | When to use it |
|---|---|---|
| C1 | System context diagram. | Show a system, its users, external systems, and responsibility boundaries. |
| C2 | Container diagram. | Explain the major technical building blocks inside a selected system. |
| C3 | Component diagram. | Decompose a container into components and internal dependencies. |
| DYNAMIC | Dynamic interaction diagram. | Describe an ordered scenario with data flows. |
| DEPLOYMENT | Deployment diagram. | Show physical or cloud nodes, environments, and the software deployed to them. |
| BPMN_PROCESS | BPMN process. | Model a business process in BPMN and connect it to the SysCraft model. |
| USE_CASE | Use case diagram. | Show actors, user scenarios, and their relationships. |
| ERD | Entity-relationship diagram. | Describe database tables, columns, schemas, and relationships. |
| DOMAIN_CLASS | Domain class diagram. | Describe domain classes, attributes, methods, and relationships. |
| STATE | State diagram. | Show an object's lifecycle and the transitions between its states. |
C4 Diagrams
The C1, C2, and C3 types provide successive levels of architectural decomposition.
C1
A C1 diagram places a system in the context of its users, external systems, channels, and major dependencies. Use it to introduce a landscape and define the solution boundary.
A typical C1 diagram contains:
- actors;
- systems and external systems;
- the main relationships between them.
C2
A C2 diagram reveals the selected system's major containers, such as applications, services, databases, queues, and gateways. When creating one, select the system it describes. This binds the diagram to the model element and enables drill-down navigation.
C3
A C3 diagram decomposes a selected container into components. Choose both the parent system and container when creating it. Use C3 when the team needs to discuss module responsibilities, internal dependencies, or likely points of technical change.
Dynamic Diagrams and Data Flows
Use DYNAMIC for interaction scenarios. You can create data flows, add steps, play the scenario, and generate use-case documentation.
A dynamic diagram is appropriate when order matters, for example:
- a user initiates an action;
- one system calls another service;
- a service sends a request;
- an external participant returns a response;
- the scenario enters an alternative or parallel branch.
If you need to model the structure of a business process rather than an interaction sequence, choose BPMN_PROCESS.
Deployment Diagrams
A DEPLOYMENT diagram connects the logical model to infrastructure: data centers, clouds, clusters, nodes, environments, and the applications or services deployed to them. Use it for operational views, deployment planning, and comparisons between a proposed architecture and a running environment.
- Create a DEPLOYMENT diagram in the relevant domain.
- In Edit mode, add existing systems, containers, and components, or create the missing model elements.
- Fill in the environment and placement attributes required by your metadata policy.
- Connect dependencies and verify the relationship labels.
- Document the diagram's purpose and scope in its description.
BPMN Processes
The BPMN_PROCESS type provides a BPMN modeling workspace with:
- a BPMN canvas and element palette;
- an element properties panel;
- Copy XML and Import XML actions;
- a Save action;
- a local draft when changes have not yet been saved to the server;
- a choice between local and server versions when drafts conflict;
- bindings from BPMN elements to SysCraft data flows, steps, and model elements.
For a selected BPMN element, you can specify a data flow, a flow step, related model elements, and a binding note. These bindings keep the process connected to the architecture instead of maintaining it as an isolated artifact.
Use BPMN when business analysts and process owners need to agree on a process and connect it to architectural elements, use cases, and interaction flows.
Use Case Diagrams
Use case diagrams describe product capabilities and the external participants involved in them.
They contain:
- Actor — a user role or external system;
- Use case — a user goal, scenario, or capability;
- Relationship — a connection between an actor and a use case, or between use cases.
Actors and use cases support stereotypes. Relationships support a relationship type, line style, and note, allowing teams to express associations, includes, extensions, and their own conventions.
Use the diagram to show a product boundary and its scenarios. To describe a scenario step by step, use a data flow and generated use-case documentation.
ERD Diagrams
ERD diagrams describe a data model through tables and relationships. A table can include columns, a schema, and a stereotype.
To complete a table in the diagram editor:
- Switch to Edit mode and create or select a Database Table.
- Open Properties on the right.
- Add rows to the structured column field and enter the name, type, and any additional attributes shown by the form.
- Set the schema and stereotype.
- Create relationships and define source and target cardinalities, labels, and notes.
- Save the form and verify that the fields remain legible on the diagram.
Use ERD when you need to communicate a database structure, key fields, schemas, entity relationships, or the impact of a storage change.
Domain Class Diagrams
The DOMAIN_CLASS type describes domain or technical entities that are best represented as classes. Class elements support attributes, methods, and stereotypes. Relationships support a relationship type, source and target multiplicities, endpoint labels, and notes.
To complete a class:
- Switch to Edit mode and create or select a Class.
- In Properties, fill in the structured attribute and method lists.
- Set the stereotype.
- Configure each relationship's type, multiplicities, endpoint labels, and note.
- Save and verify that attributes and methods remain readable at the intended zoom level.
Use a domain class diagram for aggregates, DTOs, domain entities, API models, object models, and relationships between technical classes.
State Diagrams
State diagrams describe the lifecycle of an object, request, process, or any other entity that moves through defined states.
A State supports a state kind plus entry, do, and exit actions. A Transition supports an event, guard condition, transition action, style, and note.
Use this type for an order, incident, release, document, or other object with explicit states and transition rules.
How to Choose a Type
Choose the type that answers your primary question:
- Who interacts with the system? — C1.
- What are the system's major technical parts? — C2.
- How is a container structured internally? — C3.
- In what order does a scenario run? — DYNAMIC with a data flow.
- Where are systems and services deployed? — DEPLOYMENT.
- What does the business process look like in BPMN? — BPMN_PROCESS.
- Which capabilities do users have? — USE_CASE.
- Which tables and data relationships exist? — ERD.
- Which classes and domain entities exist? — DOMAIN_CLASS.
- Which states does an object pass through? — STATE.
Avoid combining unrelated purposes in one diagram. A view that tries to be a C1, ERD, and BPMN diagram at the same time is difficult to read, review, and reuse in documentation.