-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuseCase.puml
More file actions
56 lines (48 loc) · 1.28 KB
/
Copy pathuseCase.puml
File metadata and controls
56 lines (48 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
@startuml useCaseDiagram
left to right direction
actor "User" as U
actor "Administrator" as A
actor "Library System" as S
rectangle "Library Management System" {
' User Use Cases
usecase "Register Account" as UC_Reg
usecase "Search Catalog" as UC_Search
usecase "Borrow Book" as UC_Borrow
usecase "Return Book" as UC_Return
usecase "View Transaction History" as UC_History
usecase "Pay Fines" as UC_Pay
usecase "View Profile" as UC_Profile
' Administrator Use Cases
usecase "Add Book" as UC_Add
usecase "Remove Book" as UC_Rem
usecase "Edit Book" as UC_Edit
usecase "Generate Inventory Report" as UC_InvRep
usecase "Generate User Report" as UC_UserRep
usecase "Generate Overdue Report" as UC_OverdueRep
usecase "Generate Transaction Report" as UC_TxnRep
' System Use Cases
usecase "Send Overdue Notifications" as UC_Notify
usecase "Load/Save File Database" as UC_Persist
}
' User interactions
U --> UC_Reg
U --> UC_Search
U --> UC_Borrow
U --> UC_Return
U --> UC_History
U --> UC_Pay
U --> UC_Profile
' Administrator interactions
A --> UC_Add
A --> UC_Rem
A --> UC_Edit
A --> UC_InvRep
A --> UC_UserRep
A --> UC_OverdueRep
A --> UC_TxnRep
' System interactions
S --> UC_Notify
S --> UC_Persist
' Relationships
UC_Return ....> UC_Pay : <<extend>> (If Overdue)
@enduml