@@ -14,11 +14,14 @@ skinparam componentStyle uml2
14
14
15
15
AddElementTag ("storage" , $shape = RoundedBoxShape (), $bgColor = "#E6E6FA ", $fontColor = "#000000 ")
16
16
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
+
17
20
18
21
System_Boundary (scheduler_system , "Task Scheduling System" ) {
19
22
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 ")
22
25
Container (state_manager , "State Manager" , "Python" , "Manages task states and persistence" , $sprite = "python ", $tags = "component ")
23
26
24
27
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")
32
35
Rel (task_registry , scheduler , "Provides task instances" )
33
36
Rel (context_manager , scheduler , "Provides execution context" )
34
37
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 ")
37
40
38
41
Rel (task_registry , file_task , "Creates" )
39
42
Rel (task_registry , http_task , "Creates" )
0 commit comments