Data Flow Diagrams
A computer system needs to be written down for others to understand. One way of representing a system is to use a data flow diagram.

This type of diagram shows how the data flows through the system, and what data stores are used. It does not define what type of data storage is used, or how the data is stored. this type of detail can be determined at a later stage.

Symbols used :

Entity - data source or data destination - ie where the data comes from or where it goes to...eg timesheets, customers, accountant,etc...

 
Process - an operation performed on the data.


Data store - this could, for example, represent a file held on disc or magnetic tape, a batch of input documents or a report.

 Data flow - the arrow represents movement of data between entities, processes or data stores. The arrow should be labelled to describe what data is involved.

 

When drawing data flow diagrams, you should stick to the following conventions:

  • do not draw data flow lines directly between data stores and external entities. There should be a process box between them to show the operation performed.
  • most processes will have input data and output data...so state what they are.
  • label the data flow lines so that it is clear what data is being transferred.

Example of a Data Flow Diagram

The payroll system in a certain company may be described as follows:

At the end of each week time sheets are collected and sent to the computer centre. There, the payroll data is entered via a key-to-disc system, verified and validated, producing a new file of valid transactions on disc and an error report. This file is used to update the employee master file, and cheques and payslips are printed. A payroll summary is also printed for the Accounts department.

A simple data flow diagram might be as follows: