Diagram Desk

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

Search booksBorrow a bookReturn a bookRegister booksAuthenticate memberPay late fee«include»«extend»Library systemMemberLibrarian
Use case diagram · 9 shapes

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

ShapeSymbolConnections
Library systemSystem boundary-
MemberActor→ Search books, Borrow a book, Return a book
LibrarianActor→ Register books
Search booksUse case← Member
Borrow a bookUse case→ Authenticate member · ← Member
Return a bookUse case← Member, Pay late fee
Register booksUse case← Librarian
Authenticate memberUse case← Borrow a book
Pay late feeUse case→ Return a book

Symbols used here

SymbolMeaning
ActorA user role or an outside system; a stick figure.
Use caseOne goal the user achieves; an oval.
System boundaryWhat the system covers; a large rectangle.
IncludeAlways run as part of the base use case.
ExtendAdded to the base only under a condition.

All use case diagram symbols and how to draw

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

More use case diagram examples

All SeewolLabs tools