asura-tmdb/documentation/sequence_diagrams/sequenceDiagramGuest.puml
2022-04-27 11:41:46 +02:00

24 lines
523 B
Plaintext

@startuml Guest View
title Guest View
skinparam actorStyle awesome
actor Guest #LightBlue
participant Website
database Server #Brown
hide footbox
Guest->Website: viewTournament(Tournament)
activate Guest
activate Website
Website->Server: fetchTournament(Tournament)
activate Server
Server-->Website: {status: success | failure}
deactivate Server
alt status = success
Website-->Guest: displayTournament(Tournament)
else status = failure
Website-->Guest: displayError(error)
deactivate Guest
deactivate Website
end
@enduml