Files
MuditaOS/module-sys/SystemManager/doc/services_synchronization.puml
GravisZro e433e8dd03 Fix transparent backgrounds in PlantUML
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.
2021-08-16 17:01:19 +02:00

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