Professional Documents
Culture Documents
Process
Data store
Source/Sink
Data flow
Context Level DFD
Customer 0
Order
Food Order
CUSTOMER Food KITCHEN
Ordering
System
Receipt
Management
Reports
RESTAURANT
MANAGER
Inventory
Data
Goods
Sold
2 3
Formatted
Update Update Inventory Data D2
Formatted Goods Sold Inventory Inventory File
Goods File File
Sold Data
D1
Goods Sold File
Daily Goods Sold Amounts 4 Daily Inventory Depletion
Amounts
Produce
Management Management Reports RESTAURANT
Reports MANAGER
A.
B.
DFD Rules -- Data Store
K.
L.
DFD Rules -- Data Flow
Decomposition (Explosion)
Explode a single process into
subprocesses
Balancing (the Great Circle Rule)
Conserve all process inputs and
outputs when decomposing a
process
Decomposition of 4.0
Aggregated
Data
4.3
Management
Prepare Reports
Management
Reports
4.3.1 4.3.2
0
A B
Source 1 Sink 1
System
Unbalanced DFD
1
A
Source 1
C
Formatted Formatted
A C
Source 2 2
B Sink 1
DFD Rules -- Advanced
Rules
R. The inputs to a process must be
sufficient to produce the outputs
S. At the lowest level of DFDs, new data
flows may be added to represent data
that are transmitted under exceptional
conditions (e.g., error messages).
T. To avoid having data flow lines cross
each other, you may repeat data stores or
sources / sinks on a DFD.
DFD Guidelines
Completeness
Consistency
Timing
Iterative Development
Primitive DFDs -- BFM
Level