System context

Shows the boundary of this system and its relations with the users and external systems outside it.

flowchart LR
  clerk("Clerk")
  owner("Owner")
subgraph system["Bookstore Inventory System"]
    UC01(["Book registration"])
    UC02(["Supplier registration"])
    UC03(["Delivery registration"])
    UC04(["Sales posting"])
    UC07(["Pending sale review"])
    UC05(["Stocktake"])
    UC06(["Stock inquiry"])
end
  payment_service[["Payment service"]]
    clerk --- UC01
    clerk --- UC02
    clerk --- UC03
    payment_service --- UC04
    clerk --- UC07
    clerk --- UC05
    clerk --- UC06
    owner --- UC06

This system is responsible only for what lies inside the boundary; the parts of the users’ work that happen outside it are not its responsibility.

The content of each use case is in the product functions of the requirements specification and its functional requirements section, and the requirements on the interactions across the boundary themselves are among the external interface requirements.