Major revision, changed how the use-cases interact
This commit is contained in:
parent
cbd9242310
commit
6c62a699cb
|
@ -2,36 +2,63 @@
|
||||||
title Tournament System - Group 1
|
title Tournament System - Group 1
|
||||||
|
|
||||||
skinparam actorStyle awesome
|
skinparam actorStyle awesome
|
||||||
|
skinparam linetype polyline
|
||||||
|
|
||||||
package Administrators {
|
package Administrators {
|
||||||
actor Manager as mgr
|
actor Manager as mgr
|
||||||
actor Admin as adm
|
actor Admin as adm
|
||||||
|
|
||||||
note "Manager extends admin" as MgrNote
|
note "Manager extends admin" as MgrNote
|
||||||
mgr . MgrNote
|
mgr .l. MgrNote
|
||||||
MgrNote . adm
|
MgrNote .l. adm
|
||||||
}
|
}
|
||||||
|
|
||||||
actor Player as p1
|
actor User as u1
|
||||||
|
|
||||||
left to right direction
|
left to right direction
|
||||||
rectangle System {
|
rectangle System {
|
||||||
usecase "Login" as SysLogin
|
usecase "Login" as SysLogin
|
||||||
usecase "Create admin" as SysCreateA
|
usecase "Manage admins" as SysMngAdm
|
||||||
|
|
||||||
|
usecase "Create admin" as SysCrtAdm
|
||||||
|
usecase "Delete admin" as SysDelAdm
|
||||||
|
|
||||||
|
usecase "View home page" as HomeView
|
||||||
|
|
||||||
package Tournament {
|
package Tournament {
|
||||||
|
usecase "Manage tournament" as MngTou
|
||||||
|
together {
|
||||||
usecase "Create tournament" as TouCreateT
|
usecase "Create tournament" as TouCreateT
|
||||||
usecase "Edit tournament" as TouEdit
|
usecase "Edit tournament" as TouEdit
|
||||||
usecase "View tournament" as TouView
|
usecase "Delete tournament" as TouDelete
|
||||||
}
|
}
|
||||||
|
together {
|
||||||
|
usecase "View tournaments" as TouVtou
|
||||||
|
usecase "View matches" as TouVmatch
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
note "If logged in as manager" as SysCrtAdmNote
|
||||||
|
SysLogin .r. SysCrtAdmNote
|
||||||
|
SysCrtAdmNote ..> SysMngAdm
|
||||||
}
|
}
|
||||||
|
|
||||||
mgr --> SysLogin
|
mgr --> SysLogin
|
||||||
mgr --> SysCreateA
|
|
||||||
|
|
||||||
adm --> SysLogin
|
adm --> SysLogin
|
||||||
adm --> TouCreateT
|
adm --> HomeView
|
||||||
adm --> TouEdit
|
|
||||||
adm --> TouView
|
|
||||||
|
|
||||||
p1 ---> TouView
|
u1 --> HomeView
|
||||||
|
|
||||||
|
SysLogin --> MngTou
|
||||||
|
|
||||||
|
SysMngAdm -l--> SysCrtAdm
|
||||||
|
SysMngAdm -l--> SysDelAdm
|
||||||
|
|
||||||
|
MngTou --> TouCreateT
|
||||||
|
MngTou --> TouEdit
|
||||||
|
MngTou --> TouDelete
|
||||||
|
|
||||||
|
HomeView --> TouVtou
|
||||||
|
HomeView --> TouVmatch
|
||||||
@enduml
|
@enduml
|
Loading…
Reference in New Issue