asura-tmdb/documentation/useCaseDiagram.puml

81 lines
1.7 KiB
Plaintext
Raw Normal View History

2022-03-15 14:56:27 +01:00
@startuml Tournament System
title Tournament System - Group 1
skinparam actorStyle awesome
2022-03-24 20:37:28 +01:00
skinparam linetype ortho
2022-03-15 14:56:27 +01:00
package Administrators {
2022-03-16 10:45:07 +01:00
actor Manager as mgr
2022-03-15 14:56:27 +01:00
actor Admin as adm
note "Manager extends admin" as MgrNote
mgr .l. MgrNote
2022-03-23 09:37:10 +01:00
MgrNote .l.|> adm
2022-03-15 14:56:27 +01:00
}
actor User as u1
2022-03-15 14:56:27 +01:00
left to right direction
rectangle System {
usecase "Login" as SysLogin
usecase "Manage admins" as SysMngAdm
usecase "Create admin" as SysCrtAdm
usecase "Delete admin" as SysDelAdm
usecase "View home page" as HomeView
2022-03-15 14:56:27 +01:00
package Tournament {
usecase "Manage tournament" as MngTou
together {
usecase "Create tournament" as TouCreateT
usecase "Edit tournament" as TouEdit
usecase "Delete tournament" as TouDelete
2022-03-24 20:37:28 +01:00
usecase "View teams" as TeamView
}
together {
usecase "Add team" as TeamAdd
usecase "Delete team" as TeamDel
usecase "Manage team" as TeamMng
usecase "Add members" as MembAdd
usecase "Remove members" as MembDel
}
together {
usecase "View tournaments" as TouVtou
usecase "View matches" as TouVmatch
}
2022-03-15 14:56:27 +01:00
}
note "If logged in as manager" as SysCrtAdmNote
SysLogin .r. SysCrtAdmNote
SysCrtAdmNote ..> SysMngAdm
2022-03-15 14:56:27 +01:00
}
mgr --> SysLogin
adm --> SysLogin
adm --> HomeView
u1 --> HomeView
SysLogin --> MngTou
SysMngAdm -l--> SysCrtAdm
SysMngAdm -l--> SysDelAdm
MngTou --> TouCreateT
MngTou --> TouEdit
MngTou --> TouDelete
2022-03-24 20:37:28 +01:00
MngTou --> TeamView
TeamView --> TeamAdd
TeamView --> TeamDel
TeamView --> TeamMng
TeamMng --> MembAdd
TeamMng --> MembDel
2022-03-15 14:56:27 +01:00
HomeView --> TouVtou
HomeView --> TouVmatch
2022-03-15 14:56:27 +01:00
@enduml