Core concepts
Everything in sysgraph is built on a handful of concepts and the links between them. This page describes them together.
Workspace
All content belongs to a workspace: flows, folders, the catalog, roles, endpoints, decisions, projects and diagram appearance settings. A workspace is either local (in the browser; you can have several) or cloud (on the server, shared with members). The badge in the top-left corner shows the active workspace; click it to switch between workspaces.
Flow
A flow is the sequence diagram of one scenario: who calls whom, in which order. Every flow is stored as plain Mermaid text. Flows are organized in folders and can link to each other with a reference. See Visual editor.
Participant
Every box in a flow (user, service, database, queue…) is a participant. A participant can be linked to a catalog item; a linked participant takes its name, shape and color from the catalog.
Catalog
The catalog is the C4 hierarchy of your real systems:
- Person: the people who use the system.
- Context: a software system (e.g. "Payments").
- Container: an application or data store running inside the system (e.g. "Payment Service", "Payment DB").
- Component: a part inside a container.
- Group: only for organizing; it is not drawn.
See Catalog.
Role
A role is an appearance template: shape, color and name affixes (e.g. the "Service" role appends " Service" to the name). When a catalog item is linked to a role, its appearance comes from the role. See Roles and appearance.
Endpoint and contract
An endpoint is a call an application offers (REST, gRPC, GraphQL, event…). A message in a flow can be linked to an endpoint. The contract holds the endpoint's parameters, body, response codes and security, and can be imported from Swagger / OpenAPI. See Endpoints and contracts.
Architecture view
C4 views drawn automatically from the catalog and your flows: C1 (context), C2 (containers), C3 (components). Relationships are derived from the calls in your flows. See Architecture view.
Decision (ADR)
An architecture decision record keeps the context, options, decision and consequences of a choice. Decisions are proposed, approved and accepted; an accepted decision is locked and can be superseded by a new one. A note in a flow can link to a decision. See Architecture decisions.
Project
A project is the scope of a change on the architecture: which applications and endpoints it touches, which decisions it rests on, which flows it affects. Work tracking (tasks, people, dates) deliberately stays outside, in your issue tracker. See Projects.
Organization
The level above that brings several workspaces (for example, different teams) together — in the cloud or among the local workspaces in this browser. Workspaces can share their catalog in the organization, so one team's flow can call another team's system. See Organizations.
Relationships at a glance
| Link | How it is made | Where it shows |
|---|---|---|
| Participant → catalog item | Save to catalog / pick from catalog | Name and appearance from the catalog; architecture view |
| Message → endpoint | Pick from the suggestions while typing a message | The endpoint's flows; diagram check |
| Note → decision | The Decision step in the palette | Flows on the decision page; diagram check |
| Note → flow | The Reference step in the palette | Clickable in the preview, opens in place |
| Project → item / endpoint / decision / flow | The pickers on the project page | Highlight in the architecture; affected flows |