mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-19 22:49:06 -04:00
Images generated using PlantUML had transparent backgrounds which made their text difficult to read on GitHub when using "Dark Mode". Forcing a background color of #F0F0F0 ensures they are all readable.
32 lines
508 B
Plaintext
32 lines
508 B
Plaintext
@startuml
|
|
skinparam BackgroundColor F0F0F0
|
|
|
|
actor Driver
|
|
participant "System Manager" as sysmgr
|
|
participant "Dependency Graph" as graph
|
|
participant Service as srv
|
|
|
|
Driver -> sysmgr: Pass a list\nof services
|
|
sysmgr -> graph **: create
|
|
|
|
|||
|
|
sysmgr -> graph: addServices()
|
|
|
|
|||
|
|
sysmgr -> graph: topologicalSort()
|
|
|
|
|||
|
|
activate graph
|
|
graph --> sysmgr: sorted services
|
|
deactivate graph
|
|
destroy graph
|
|
|||
|
|
|
|
loop for each service in sorted services
|
|
sysmgr -> srv: Start
|
|
srv --> sysmgr: Confirmation
|
|
end
|
|
|||
|
|
|
|
@enduml
|