You are on page 1of 2

Data Flow Diagram

A data flow diagram (DFD) is a graphical representation which models the system by depicting:

 external entities from which the data flows and where results terminate,

 processes which transform data flows, and

 data stores from which the data are read or into which data are written by the processes.

DFDs were introduced and popularized for structured analysis and design.

Why DFD?
Graphical nature makes it a good communication tool between:
 user and analyst

 analyst and system designer

Symbols used in DFD


 A circle represents a process. Lines with incoming arrows are input data flows and lines with outgoing
arrows are output data flows. Labels are assigned to data flow.

Payment Unpaid Bills


Billing

 A rectangle represents an external entity. An entity either supply or receive data. The entity does not process
data.

Invoice
Vendor

Order
Customer

 A data store is a repository of data. Data can be written into the data store which is represented by an
incoming arrow. Data can be read from a data store which is depicted by an outgoing arrow.

Rules of Data Flow


 Data can flow from:
- external entity to process
- process to external entity
- process to store and back
- process to process

 Data cannot flow from:

- external entity to external entity


- external entity to store
- store to external entity
- store to store

Context Diagram
If an entire system is represented by one DFD (which gives the system’s overview), it is called a Context Diagram.
A context diagram gives little detail and is also known as the top level DFD.

Figure: Context Diagram for Mess Management

Logical and Physical DFD


A physical DFD is similar to a document flow diagram. Physical DFDs are drawn during fact gathering phase of
SDLC.

Figure: Physical DFD for Encashing Cheque

--

You might also like