Skip to content

Commit

Permalink
Merge pull request #125 from jan-kai1/AddEventSeq
Browse files Browse the repository at this point in the history
Modify AddEventCommand sequence diagram
  • Loading branch information
cshao02 authored Oct 27, 2024
2 parents 47d276d + cdf2a96 commit 18613a5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions docs/diagrams/AddEventCommandSequenceDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ participant "addressBookParser: AddressBookParser" as A #red
participant "eventManger: EventManager" as C #green
participant ":NewEventCommandParser" as P #pink
participant "contactCommand: AddEventCommand" as B #yellow
participant "ParserUtil" as U #gray
participant ":Event" as E #lightgreen



user --> L: "new ..."
Expand All @@ -16,15 +15,13 @@ A -> P: .parse(arguments)

create B
P -> B: new AddEventCommand()
B --> U: .parseEvent(userInput)
create E
U -> E: new Event()
E-->U
U-->B


B --> P:
P --> A:
A --> L
L -> B: contactCommand.execute()
B -> C: addEvent(event)
B --> L: CommandResult
L --> user: CommandResult
@enduml
Binary file modified docs/images/AddEventCommandSequenceDiagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 18613a5

Please sign in to comment.