forked from nus-cs2103-AY2223S1/tp
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create PlantUML sequence diagram and update DG for add/delete tag
- Loading branch information
Showing
5 changed files
with
84 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
@startuml | ||
!include style.puml | ||
|
||
box Logic LOGIC_COLOR_T1 | ||
participant ":LogicManager" as LogicManager LOGIC_COLOR | ||
participant ":AddressBookParser" as AddressBookParser LOGIC_COLOR | ||
participant ":AddTagCommandParser" as AddTagCommandParser LOGIC_COLOR | ||
participant ":AddTagCommand" as AddTagCommand LOGIC_COLOR | ||
end box | ||
|
||
box Model MODEL_COLOR_T1 | ||
participant ":Model" as Model MODEL_COLOR | ||
participant ":AddressBook" as AddressBook MODEL_COLOR | ||
end box | ||
[-> LogicManager : execute(addL) | ||
activate LogicManager | ||
|
||
LogicManager -> AddressBookParser : parseCommand(addL) | ||
activate AddressBookParser | ||
|
||
create AddTagCommandParser | ||
AddressBookParser -> AddTagCommandParser | ||
activate AddTagCommandParser | ||
|
||
AddressBookParser -> AddTagCommandParser : parse(arguments) | ||
|
||
create AddTagCommand | ||
AddTagCommandParser -> AddTagCommand | ||
activate AddTagCommand | ||
|
||
AddTagCommand --> AddTagCommandParser | ||
deactivate AddTagCommand | ||
|
||
AddTagCommandParser --> AddressBookParser | ||
deactivate AddTagCommandParser | ||
|
||
AddressBookParser --> LogicManager | ||
deactivate AddressBookParser | ||
|
||
LogicManager -> AddTagCommand : execute() | ||
activate AddTagCommand | ||
|
||
AddTagCommand -> Model : setPerson() | ||
activate Model | ||
|
||
Model -> AddressBook : setPerson() | ||
activate AddressBook | ||
|
||
AddressBook --> Model : | ||
deactivate AddressBook | ||
|
||
Model --> AddTagCommand | ||
deactivate Model | ||
|
||
AddTagCommand --> LogicManager : result | ||
deactivate AddTagCommand | ||
AddTagCommand -[hidden]-> LogicManager : result | ||
destroy AddTagCommand | ||
|
||
[<--LogicManager | ||
deactivate LogicManager | ||
@enduml |
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.