Library system: issue and return a book
A worked example to adapt. Rename steps, add branches and owners to match how your team actually works.
Mermaid source for this diagram
flowchart TD
s(["Member at the desk"])
d0{"Issue or return?"}
card["Scan member card"]
d1{"Membership valid?"}
refuse(["Explain refusal to member"])
d2{"Unpaid fines or overdue books?"}
settle["Pay fines or return overdue books"]
d3{"Book available?"}
res["Place a reservation"]
resEnd(["Reservation placed"])
d4{"Under borrowing limit?"}
loan["Record loan and due date"]
cat1[("Catalogue: mark book on loan")]
issued(["Book issued"])
scan["Scan returned book"]
d5{"Past due date?"}
fine["Add fine: days late × daily rate"]
cat2[("Catalogue: mark book available")]
d6{"Reservation waiting?"}
notify["Notify next member in queue"]
returned(["Return complete"])
s --> d0
d0 -->|Issue| card
d0 -->|Return| scan
card --> d1
d1 -->|No| refuse
d1 -->|Yes| d2
d2 -->|Yes| settle
settle --> d2
d2 -->|No| d3
d3 -->|No| res
d3 -->|Yes| d4
res --> resEnd
d4 -->|No| refuse
d4 -->|Yes| loan
loan --> cat1
cat1 --> issued
scan --> d5
d5 -->|Yes| fine
d5 -->|No| cat2
fine --> cat2
cat2 --> d6
d6 -->|Yes| notify
d6 -->|No| returned
notify --> returnedPaste into any Markdown tool that renders Mermaid, such as GitHub.
About this library management system flowchart
A library management system is a common student project, and its flowchart is usually the first diagram the brief asks for. Most of the system's rules show up in two transactions: issuing a book to a member and taking it back.
The issue path is a chain of checks, each of which can stop the loan: is the membership valid, does the member owe fines or hold overdue books, is a copy available, and are they under the borrowing limit? Only when every answer allows it does the system record the loan with a due date and update the catalogue.
The return path updates the catalogue, charges a fine if the book is late, and checks the reservation queue so the next member is told the book is ready. The two cylinders in the diagram mark where the system writes to its catalogue database; in a fuller design they would be one shared data store.
Step by step
- Choose the transaction. The librarian, or a self-service kiosk, starts an issue or a return.
- Check the member. Scan the card. An expired or suspended membership ends the issue with an explanation.
- Check what they owe. If the member has unpaid fines or overdue books, they settle those first; the chart loops back to the check.
- Check the book. If no copy is on the shelf, offer a reservation instead of a loan.
- Check the limit. Members can only hold a set number of books at once. Over the limit, the loan is refused.
- Record the loan. Save the member, the book and the due date, and mark the copy as on loan in the catalogue.
- Process a return. Scan the book. If it is late, add a fine for each day late, then mark the copy available.
- Serve the queue. If someone reserved the book, notify them that it is ready to collect.
How to make it in flow-chart.io
- Start from the example. Edit the text in the generator box above so it names your own library rules, then press Generate. The free preview needs no sign-up.
- Add the branches. Add the decision points that matter for you, for example "reference-only book?" or "renewal requested?". Each decision becomes a diamond with labeled outcomes.
- Assign owners. Save the diagram to the editor (free account) and rename steps to show who does what: member, librarian, catalogue system and the fines account.
- Share or export. Share a read-only view link: people with the link can view the diagram but not edit it. Downloads as PNG, SVG or PDF are part of Flow Pro (see pricing).
Tips
- Write your library's actual rules in the diamonds: the loan period, the borrowing limit and the daily fine. A reader should not have to guess them.
- Draw renewals as a third branch from the first decision: check the reservation queue, then extend the due date.
- For a project report, pair this flowchart with a data flow diagram of the same system; the flowchart shows decisions, the DFD shows where data moves.
- Keep issue and return in one chart only while each stays under about ten steps. Past that, split them into two pages.
- Add a swimlane per role (member, librarian, system) if your brief asks who does each step.
Frequently asked questions
- What should a library management system flowchart include?
- At minimum the issue and return transactions: member check, fines check, availability, borrowing limit, recording the loan with a due date, late fines on return and the reservation queue. Many projects also add member registration and book renewal.
- Is this a flowchart or a data flow diagram?
- It is a flowchart: it shows the order of steps and the decisions. A data flow diagram shows the data stores, external entities and the data moving between processes, without decisions. Student projects often need both.
- How do I show the database in the flowchart?
- Use the cylinder (data) symbol for each place the system reads or writes stored data, such as the catalogue and the loans table.
- Can I add member registration to this chart?
- Yes. Add a start branch for new members that collects their details, checks for an existing account and creates the membership, then joins the issue path.
- Can I edit this library system flowchart?
- Yes. Press Use this template to open it in the editor with a free account, then rename steps and add your library's rules.