MyMisPal
← Systems analysis lessons
Lesson 7 of 11

Data flow diagrams

A data flow diagram (DFD) shows how data moves through a system: where it comes from, where it's processed and where it's stored. It doesn't show timing or conditions; other diagrams do that.

External entityProcessD1Data storeData flowe.g. Studente.g. Receive ordere.g. Orderse.g. Order

We start with the context diagram: the whole system as one process in the middle, surrounded by everyone it deals with.

OrderReady noticePayment requestPayment confirmationOrder ticketStatus updateSales report0Café orderingsystemStudentPayment gatewayBaristaManager

Then we open the system into smaller processes at level 1 and add data stores. (Simplified: payment is left out.)

OrderPricesNew orderOpen ordersOrder ticketPreparedSales dataDaily reportStudent1.0Receive orderD2MenuD1Orders2.0Prepare orderBarista3.0Produce reportsManager
Watch outKey rules: no direct flow between two external entities, between an entity and a data store, or between two stores; data must pass through a process. Every process needs an input and an output. Name processes with verbs (“Receive order”) and flows with nouns (“Order”).
Spotted a mistake on this page, or have an idea to improve the site?