Skip to content

Commit

Permalink
Include UI in sequence diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
yucheng11122017 committed Oct 22, 2021
1 parent 7cd77a5 commit a9d2205
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/diagrams/PinSequenceDiagram.puml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
@startuml
!include style.puml

box UI UI_COLOR
participant "UI" as UI UI_COLOR
end box

box Logic LOGIC_COLOR_T1
participant ":LogicManager" as LogicManager LOGIC_COLOR
participant ":AddressBookParser" as AddressBookParser LOGIC_COLOR
Expand All @@ -13,7 +17,7 @@ box Model MODEL_COLOR_T1
participant ":Model" as Model MODEL_COLOR
end box

[-> LogicManager : execute("pin 1")
UI -> LogicManager : execute("pin 1")
activate LogicManager

LogicManager -> AddressBookParser : parseCommand("pin 1")
Expand Down Expand Up @@ -73,6 +77,6 @@ deactivate Model
PinCommand --> LogicManager : result
deactivate PinCommand

[<--LogicManager
UI <--LogicManager: result
deactivate LogicManager
@enduml

0 comments on commit a9d2205

Please sign in to comment.