Diagram Desk

Library loan flowchart

Borrowing a book: member check, overdue check, loan limit check. Pairs well with the library use case and ER examples.

The diagram

StartScan card and bookValid member?Suggest registrationEndAny overdue book?Ask to return firstFewer than 5 loans?Show loan limitSave loan recordPrint due datenoyesyesnonoyes
Flowchart · 11 shapes

Reading it step by step

  • 1. Start at 'Start'.
  • 2. 'Scan card and book' is an input or output. Next: 'Valid member?'.
  • 3. Decide 'Valid member?': if 'no', go to 'Suggest registration'; if 'yes', go to 'Any overdue book?'.
  • 4. 'Suggest registration' is a processing step. Next: 'End'.
  • 5. End at 'End'.
  • 6. Decide 'Any overdue book?': if 'yes', go to 'Ask to return first'; if 'no', go to 'Fewer than 5 loans?'.
  • 7. 'Ask to return first' is a processing step. Next: 'End'.
  • 8. Decide 'Fewer than 5 loans?': if 'no', go to 'Show loan limit'; if 'yes', go to 'Save loan record'.
  • 9. 'Show loan limit' is a processing step. Next: 'End'.
  • 10. 'Save loan record' reads or writes the data store. Next: 'Print due date'.
  • 11. 'Print due date' is an input or output. Next: 'End'.

Shape by shape

ShapeSymbolConnections
StartTerminator→ Scan card and book
Scan card and bookInput/output→ Valid member? · ← Start
Valid member?Decision→ Suggest registration(no), Any overdue book?(yes) · ← Scan card and book
Suggest registrationProcess→ End · ← Valid member?
EndTerminator← Suggest registration, Ask to return first, Show loan limit, Print due date
Any overdue book?Decision→ Ask to return first(yes), Fewer than 5 loans?(no) · ← Valid member?
Ask to return firstProcess→ End · ← Any overdue book?
Fewer than 5 loans?Decision→ Show loan limit(no), Save loan record(yes) · ← Any overdue book?
Show loan limitProcess→ End · ← Fewer than 5 loans?
Save loan recordStored data→ Print due date · ← Fewer than 5 loans?
Print due dateInput/output→ End · ← Save loan record

Symbols used here

SymbolMeaning
TerminatorWhere the flow starts or ends; a rounded rectangle.
ProcessOne action such as a calculation; a rectangle.
DecisionA question whose answer picks the next path; a diamond.
Input/outputData comes in or goes out; a parallelogram.
Stored dataReads or writes a database or file; a cylinder.
Flow lineThe order of steps, in the arrow direction.

All flowchart 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 loan flowchart
flowchart TD
  s(["Start"])
  a[/"Scan card and book"/]
  b{"Valid member?"}
  c["Suggest registration"]
  z(["End"])
  d{"Any overdue book?"}
  e["Ask to return first"]
  f{"Fewer than 5 loans?"}
  g["Show loan limit"]
  h[("Save loan record")]
  i[/"Print due date"/]
  s --> a
  a --> b
  b -->|no| c
  c --> z
  b -->|yes| d
  d -->|yes| e
  e --> z
  d -->|no| f
  f -->|no| g
  g --> z
  f -->|yes| h
  h --> i
  i --> z

More flowchart examples

All SeewolLabs tools