A data flow diagram is a graphic representation of a system or portion of system. It consists of data flows, processes, sources, destinations, and stores – all described through the use of easily understood symbols. An entire system can be described from the viewpoint of the data it processes with only four symbols. At the same time, data flow diagrams are powerful enough to show parallel activities. When standard symbols limit communication, a presentation graph, which uses symbols of people, files, terminals, and documents, can be used to discuss a system with users.

DFD Principles

  • The general principle in Data Flow Diagramming is that a system can be decomposed into subsystems, and subsystems can be decomposed into lower level subsystems, and so on.

  • Each subsystem represents a process or activity in which data is processed. At the lowest level, processes can no longer be decomposed.

  • Each 'process' (and from now on, by 'process' we mean subsystem and activity) in a DFD has the characteristics of a system.

  • Just as a system must have input and output (if it is not dead), so a process must have input and output.

  • Data enters the system from the environment; data flows between processes within the system; and data is produced as output from the system.

An example: 

The 'Context Diagram ' is an overall, simplified, view of the target system, which contains only one process box, and the primary inputs and outputs.

Join now!

Context diagram 1 

Context diagram 2 

Both the above diagrams say the same thing.  The second makes use of the possibility in SSADM of including duplicate objects. (In context diagram 2 the duplication of the Customer object is shown by the line at the left hand side. Drawing the diagram in this way emphasizes the Input-Output properties of a system.

The Context diagram above, and the decomposition which follows, are a first attempt at describing part of a 'Home Catalogue' sales system. In the modeling process it is likely that diagrams will ...

This is a preview of the whole essay