Skip to content

Commit

Permalink
Edit smart sequence diagram for user details collection
Browse files Browse the repository at this point in the history
  • Loading branch information
soongensayo committed Apr 14, 2024
1 parent 15b965b commit e119073
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/diagrams/UserDetailsCommandSequenceDiagram.puml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ participant "userDetails:UserDetails" as UserDetails
activate UserDetailsCommand

UserDetailsCommand -> Ui: showMessage("Please enter your name:")
UserDetailsCommand <- Ui: readCommand()
UserDetailsCommand <-- Ui: readCommand()
UserDetailsCommand -> UserDetails: setName(name)

UserDetailsCommand -> Ui: showMessage("Please enter your age:")
UserDetailsCommand <- Ui: readAge()
UserDetailsCommand <-- Ui: readAge()
UserDetailsCommand -> UserDetails: setAge(age)

alt is "M" or "R" or "D"
UserDetailsCommand -> Ui: showMessage("Please enter your anniversary:")
UserDetailsCommand <- Ui: readCommand()
UserDetailsCommand <-- Ui: readCommand()
UserDetailsCommand -> UserDetails: setAnniversary(anniversary)
end

Expand Down
Binary file modified docs/images/UserDetailsCommandSequenceDiagram.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 e119073

Please sign in to comment.