From f3c8e115a49a93ee869cc8664a221b48fb4a77b8 Mon Sep 17 00:00:00 2001 From: Kristoffer Juelsen Date: Tue, 15 Mar 2022 13:20:01 +0100 Subject: [PATCH] More Diagrams --- documentation/sequenceDiagramCreate.puml | 18 ++++++++++++++++++ documentation/sequenceDiagramManage.puml | 7 +++++++ 2 files changed, 25 insertions(+) diff --git a/documentation/sequenceDiagramCreate.puml b/documentation/sequenceDiagramCreate.puml index e69de29..8e42451 100644 --- a/documentation/sequenceDiagramCreate.puml +++ b/documentation/sequenceDiagramCreate.puml @@ -0,0 +1,18 @@ +@startuml Create Tournament +Actor Admin #palegreen +participant Website +database Server #brown +hide footbox + +Admin->Website: createTournament(Tournament) +Website->Server: sendInfo(Tournament) +Server-->Website: {status: success | failure} +alt status = success +Website->Server: fetchTournament(Tournament) +Server-->Website: {status: success | failure} +' deactivate Server +Website-->Admin: displayTournament(Tournament) +' deactivate Admin +' deactivate Website +end +@enduml \ No newline at end of file diff --git a/documentation/sequenceDiagramManage.puml b/documentation/sequenceDiagramManage.puml index e69de29..f502b14 100644 --- a/documentation/sequenceDiagramManage.puml +++ b/documentation/sequenceDiagramManage.puml @@ -0,0 +1,7 @@ +@startuml Edit Tournament +Actor Admin #palegreen +participant Website +database Server #brown +hide footbox + +@enduml \ No newline at end of file