uml diagrams

This commit is contained in:
Alexander Nozik 2020-06-09 14:43:04 +03:00
parent 8de3ba9f7f
commit 8e261a5ff5
3 changed files with 42 additions and 0 deletions

9
docs/uml/async.puml Normal file
View File

@ -0,0 +1,9 @@
@startuml
title Simple call with callback
Main -> Async: call
activate Async
Async -> Main: result
deactivate Async
@enduml

16
docs/uml/eventbus-bi.puml Normal file
View File

@ -0,0 +1,16 @@
@startuml
title Unidirectional event bus
Node1 -> Bus: send
activate Bus
Bus -> Node2: consume
Node2 -> Bus: send
Bus -> Node1: consume
Node1 -> Bus: send
Bus -> Node2: consume
Node2 -> Bus: send
Bus -> Node1: consume
deactivate Bus
@enduml

View File

@ -0,0 +1,17 @@
@startuml
title Unidirectional event bus
Source -> Bus: send
activate Bus
Source -> Bus: send
Bus -> Target: consume
Source -> Bus: send
Bus -> Target: consume
Source -> Bus: send
Bus -> Target: consume
Bus -> Target: consume
deactivate Bus
@enduml