From 5fbec255434f9dcb22969495957ba4e9c00b93d7 Mon Sep 17 00:00:00 2001 From: Kristoffer Juelsen Date: Tue, 15 Mar 2022 13:01:50 +0100 Subject: [PATCH] User Sequence Diagram --- documentation/sequenceDiagramUser.puml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 documentation/sequenceDiagramUser.puml diff --git a/documentation/sequenceDiagramUser.puml b/documentation/sequenceDiagramUser.puml new file mode 100644 index 0000000..a9e6b23 --- /dev/null +++ b/documentation/sequenceDiagramUser.puml @@ -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 +