Professional Documents
Culture Documents
Guidelines For Drawing DFD
Guidelines For Drawing DFD
Naming conventions:
o Processes: strong verbs
o dataflows: nouns
o datastores: nouns
o external entities: nouns
A processing step may have input flows but no output flows. This situation is sometimes
called a black hole.
A processing step may have output flows but now input flows. This situation is
sometimes called a miracle.
A processing step may have outputs that are greater than the sum of its inputs - e.g., its
inputs could not produce the output shown. This situation is sometimes referred to as
a grey hole.
When one is trying to understand a process during the course of an interview (and consequently
drafting DFDs at high speed), it is not hard to develop diagrams with each of the above
characteristics. Indeed, scanning DFDs for these mistakes can raise questions that provide
questions for use in further process analyses (e.g., "Where do you get the data that allows you to
do such-and-such...").
In the example above, a processing step is included that does not actually change any data. This
step (titled "route transaction") might appear on a flow chart but would not appear on a DFD.
In the example above, the left side tries to represent the disposition of a credit receipts after a
credit card purchase has been approved. Branching, whether relating to data or to conditional
decision-making, might appear on a flow chart but would not appear on a DFD.
How does one decide what goes on a DFD? One answer lies in understanding the difference
between a physical and logical model of a process. The logical model describes only those
processing steps that are essential to completing the process. These may not be immediately
obvious during early steps in process analysis, so be prepared to sketch multiple drafts of a
DFDs. One of the reasons that this technique was developed was to enable systems analysts to
sketch meaningful process descriptions on a single piece of paper during discussions with
business managers (even an envelope or a napkin, no kidding). The technique is designed for
rapid diagramming and multiple iterations. Don't be dismayed if your first draft has mistakes those mistakes are one of the ways that you know how to ask more insightful questions of the
process.
As a final aid in developing DFDs, consider the following description of processing steps. It
suggests five characteristics of processing steps that change data (and so deserve to be included
on a DFD).