Skip to content

Commit 5c64726

Browse files
authored
Update arch.puml
add colors
1 parent 5972644 commit 5c64726

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

docs/arch.puml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,14 @@ skinparam componentStyle uml2
1414

1515
AddElementTag("storage", $shape=RoundedBoxShape(), $bgColor="#E6E6FA", $fontColor="#000000")
1616
AddElementTag("component", $shape=RoundedBoxShape(), $bgColor="#F0FFF0", $fontColor="#000000")
17+
AddElementTag("task", $shape=RoundedBoxShape(), $bgColor="#f0fbff", $fontColor="#000000")
18+
AddElementTag("context", $shape=RoundedBoxShape(), $bgColor="#fff0ff", $fontColor="#000000")
19+
1720

1821
System_Boundary(scheduler_system, "Task Scheduling System") {
1922
Container(scheduler, "Scheduler", "Python", "Manages task execution and scheduling", $sprite="python", $tags="component")
20-
Container(task_registry, "Task Registry", "Python", "Registers and creates task instances", $sprite="tasks", $tags="component")
21-
Container(context_manager, "Context Manager", "Python", "Manages task execution contexts", $sprite="python", $tags="component")
23+
Container(task_registry, "Task Registry", "Python", "Registers and creates task instances", $sprite="tasks", $tags="task")
24+
Container(context_manager, "Context Manager", "Python", "Manages task execution contexts", $sprite="python", $tags="context")
2225
Container(state_manager, "State Manager", "Python", "Manages task states and persistence", $sprite="python", $tags="component")
2326

2427
ContainerDb(file_storage, "File Storage", "File System", "Stores task states and results", $sprite="file", $tags="storage")
@@ -32,8 +35,8 @@ Rel(state_manager, file_storage, "Reads/Writes state")
3235
Rel(task_registry, scheduler, "Provides task instances")
3336
Rel(context_manager, scheduler, "Provides execution context")
3437

35-
Container(file_task, "File Task", "Task Type", "Performs file operations", $sprite="file", $tags="component")
36-
Container(http_task, "HTTP Task", "Task Type", "Performs HTTP requests", $sprite="network_wired", $tags="component")
38+
Container(file_task, "File Task", "Task Type", "Performs file operations", $sprite="file", $tags="task")
39+
Container(http_task, "HTTP Task", "Task Type", "Performs HTTP requests", $sprite="network_wired", $tags="task")
3740

3841
Rel(task_registry, file_task, "Creates")
3942
Rel(task_registry, http_task, "Creates")

0 commit comments

Comments
 (0)