User Sequence Diagram

This commit is contained in:
Kristoffer Juelsenn 2022-03-15 13:01:50 +01:00
parent 254f9a8606
commit 5fbec25543
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
@startuml User View
actor User #LightBlue
participant Website
database Server #Brown
User->Website: viewTournament(Tournament)
activate User
activate Website
Website->Server: fetchTournament(Tournament)
activate Server
Server-->Website: {status: success | failure}
deactivate Server
alt status = success
Website-->User: displayTournament(Tournament)
else status = failure
Website-->User: displayError(error)
deactivate User
deactivate Website
end
@enduml