Library system use case diagram
What members and librarians do with a library system. Borrowing always includes member authentication; paying a late fee extends returning a book.
The diagram
Reading it step by step
- The system boundary is 'Library system'.
- Actor 'Member' uses 'Search books', 'Borrow a book', 'Return a book'.
- Actor 'Librarian' uses 'Register books'.
- 'Borrow a book' always includes 'Authenticate member'.
- 'Pay late fee' extends 'Return a book' under a condition.
Shape by shape
| Shape | Symbol | Connections |
|---|---|---|
| Library system | System boundary | - |
| Member | Actor | → Search books, Borrow a book, Return a book |
| Librarian | Actor | → Register books |
| Search books | Use case | ← Member |
| Borrow a book | Use case | → Authenticate member · ← Member |
| Return a book | Use case | ← Member, Pay late fee |
| Register books | Use case | ← Librarian |
| Authenticate member | Use case | ← Borrow a book |
| Pay late fee | Use case | → Return a book |
Symbols used here
| Symbol | Meaning |
|---|---|
| Actor | A user role or an outside system; a stick figure. |
| Use case | One goal the user achieves; an oval. |
| System boundary | What the system covers; a large rectangle. |
| Include | Always run as part of the base use case. |
| Extend | Added to the base only under a condition. |
Diagram text
Paste this text into the editor to get the same picture, then change the names to fit your own work.
# Library system use case diagram
usecase
system Library system
actor Member
actor Librarian
(Search books)
(Borrow a book)
(Return a book)
(Register books)
(Authenticate member)
(Pay late fee)
Member -- (Search books)
Member -- (Borrow a book)
Member -- (Return a book)
Librarian -- (Register books)
(Borrow a book) ..> (Authenticate member) : include
(Pay late fee) ..> (Return a book) : extend