30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
C4Context
|
|
title {{SYSTEM_NAME}} System Context
|
|
|
|
%% External Users/Actors
|
|
Person(user, "{{USER_TYPE}}", "{{USER_DESCRIPTION}}")
|
|
Person(admin, "Administrator", "Manages the system")
|
|
|
|
%% Main System
|
|
System(system, "{{SYSTEM_NAME}}", "{{SYSTEM_DESCRIPTION}}")
|
|
|
|
%% External Systems
|
|
System_Ext(external1, "{{EXTERNAL_SYSTEM_1}}", "{{EXTERNAL_DESCRIPTION_1}}")
|
|
System_Ext(external2, "{{EXTERNAL_SYSTEM_2}}", "{{EXTERNAL_DESCRIPTION_2}}")
|
|
|
|
%% Relationships
|
|
Rel(user, system, "{{USER_INTERACTION}}")
|
|
Rel(admin, system, "Manages and configures")
|
|
Rel(system, external1, "{{INTEGRATION_1}}")
|
|
Rel(system, external2, "{{INTEGRATION_2}}")
|
|
|
|
%% Template Variables:
|
|
%% {{SYSTEM_NAME}} - Name of your system
|
|
%% {{SYSTEM_DESCRIPTION}} - Brief description of what the system does
|
|
%% {{USER_TYPE}} - Type of user (e.g., "Customer", "Developer")
|
|
%% {{USER_DESCRIPTION}} - Description of the user role
|
|
%% {{USER_INTERACTION}} - How user interacts with system
|
|
%% {{EXTERNAL_SYSTEM_*}} - Names of external systems
|
|
%% {{EXTERNAL_DESCRIPTION_*}} - Descriptions of external systems
|
|
%% {{INTEGRATION_*}} - How your system integrates with external systems
|