Rules For Creating Data Flow Diagrams

25 Feb

When creating data flow diagrams (DFD’s), there are certain rules which must be followed. This rules allow for the DFD to be make sense and also to be easily understood. In this blog I will go through the rules which must be followed and show practical examples of these rules.

1. All data flows must flow to or from a process

All flows of data must be either coming from or going to a process. External entities can not flow directly to each other. A data flow can not link a data store to an external entity. Data can not move between data stores without first being processed.

Picture1

2. A Process must have at least one input flow and one output flow.

When a process has input flow but no output flow, it is called a “black hole”. When a process has output flows but no input flows, it is called a “miracle”.

slide-12-728

A process must have at least one input flow and one outflow flow.

3. The inputs to a process must be sufficient to produce output flows.

A “grey hole” is when the outputs of a process are greater then the sum of its inputs. For example, if a customers name and address is an input, their bank details can not be an output, as the process doesn’t have enough information to produce it.

4. Processes must transform data.

When naming data flows, adjectives should be used which show how processing has changed the data flow.

Picture2

5. Data Flows can not cross each other.

The flows of data can not cross each other. To overcome this problem, data stores and entities can be duplicated. However, processes can not be deplicated. Data flows must be unidirectional.

6. Entities must be labelled in lower case.

Picture3

Sources:

Cathal Doyle Lecture 17: http://cathaldoyle.com/lecture-17-introduction-to-data-flow-diagrams-dfds/

http://www.slideshare.net/managementofbusiness/data-flow-diagrams

6 Responses to “Rules For Creating Data Flow Diagrams”

  1. sad112759089 February 25, 2013 at 2:27 pm #

    Found your blog great for a source on how to create a DFD!

  2. sad111505863 February 28, 2013 at 12:54 pm #

    really helpful ….i didnt really fet dfd’s ..now i do thanks 😀

  3. sad109566511 March 2, 2013 at 2:50 pm #

    Very well written, explained really well and will be very useful for studying

  4. sad109417338 March 4, 2013 at 12:18 pm #

    Thanks! Glad you found it helpful.

  5. bishalbhandari0 January 7, 2019 at 3:02 pm #

    thanks for this wonder piece was searching for my course work 🙂 eternalsunshineoftheismind.wordpress.com

  6. moschino likes February 28, 2019 at 6:35 pm #

    i really found it helpful thanks alot

Leave a comment