Professional Documents
Culture Documents
Diagrams
Symbols Used
Proces
s
Data
Flow
Data
Store
Extern
al
Entity
DFD Elements
Process:
Data Flow:
Data Store:
External Entity:
Context Diagram
First DFD in every business process
Shows the context into which the business
process fits
Shows the overall business process as just
one process (process 0)
Shows all the external entities that receive
information from or contribute information
to the system
Example: Order system that a company
uses to enter orders and apply payments
against a customers balance
Context Diagram
Level 0 Diagram
Shows all the major processes that
comprise the overall system the
internal components of process 0
Shows how the major processes are
interrelated by data flows
Shows external entities and the
major processes with which they
interact
Adds data stores
Level 0 Diagram
Level 0
DFD for
Order
System
Level 1 Diagram
Generally, one level 1 diagram is created for
every major process on the level 0 diagram
Shows all the internal processes that
comprise a single process on the level 0
diagram
Shows how information moves from and to
each of these processes
If a parent process is decomposed into, for
example, three child processes, these three
child processes wholly and completely make
up the parent process
Level 2 Diagram
Shows all processes that comprise a
single process on the level 1 diagram
Shows how information moves from
and to each of these processes
Level 2 diagrams may not be needed
for all level 1 processes
Correctly numbering each process
helps the user understand where the
process fits into the overall system
ERD vs DFD
ERD shows how a system
will look like without
saying how to run it.
Since it is based entity,
ERD shows the
relationship between
entities in a system or
process
ERD uses only rectangles
boxes. Diamonds are
used to represent
relationships between
entities.
.
Steps:
1. Create a list of activities
2. Construct Context Level DFD
(identifies sources and sink)
3. Construct Level 0 DFD
(identifies manageable sub processes )
4. Construct Level 1- n DFD
(identifies actual data flows and data stores )
Customer Order
Serve Product
Collect Payment
Produce Product
Store Product
Order Raw Materials
Pay for Raw Materials
Pay for Labor
CUSTOMER
Sales Forecast
0.0
Lemonade Production Schedule EMPLOYEE
System
Pay
Product Served
Payment
Received Goods
Payment
VENDOR
Time Worked
Purchase Order
Level 0 DFD
1.0
Sale
Customer Order
Serve Product
Collect Payment
Product Ordered
Payment
CUSTOMER
Produce Product
Store Product
Order Raw Materials
Pay for Raw Materials
Pay for Labor
Sales Forecast
Customer Order
Product Served
Received Goods
VENDOR
Purchase Order
Production
Schedule
2.0
Production
EMPLOYEE
Inventory
3.0
Procurement
Payment
Order
Decisions
Pay
4.0
Payroll
Time Worked
Level 1 DFD
CUSTOMER
Customer Order
Customer Order
Serve Product
Collect Payment
Produce Product
Store Product
Order Raw Materials
Pay for Raw Materials
Pay for Labor
ORDER
1.1
Record
Order
Severed Order
Payment
1.2
Receive
Payment
PAYMENT
1.3
Produce
Sales
Forecast
Sales Forecast
Level 1 DFD
Product Order
ORDER
Customer Order
Serve Product
Collect Payment
Produce Product
Store Product
Order Raw Materials
Pay for Raw Materials
Pay for Labor
2.1
Serve
Product
Quantity Severed
RAW
MATERIALS
Production
Schedule
2.2
Produce
Product
Production Data
2.3
Store
Product
Quantity Used
INVENTORTY
Level 1 DFD
Order Decision
3.1
Produce
Purchase
Order
Received
Goods
3.2
Receive
Items
Payment Approval
3.3
Pay
Vendor
Payment
Quantity On-Hand
Quantity
Received
Produce Product
Store Product
Order Raw
Materials
Pay for Raw
Materials
PURCHASE
ORDER
RAW
MATERIALS
RECEIVED
ITEMS
VENDOR
Level 1 DFD
Time Worked
4.1
Record
Time
Worked
TIME CARDS
Employee ID
EMPLOYEE
Payroll Request
4.2
Calculate
Payroll
Produce Product
Store Product
Payment Approval
4.3
Pay
Employe
e
PAYMENTS
Process Decomposition
0.0
Lemonade
System
Context Level
1.0
Sale
1.1
Record
Order
1.2
Receive
Payment
2.0
Production
2.1
Serve
Product
2.2
Produce
Product
2.3
Store
Product
3.0
Procurement
3.1
Produce
Purchase
Order
3.2
Receive
Items
3.3
Pay
Vendor
4.0
Payroll
4.1
Record
Time
Worked
4.2
Calculate
Payroll
4.3
Pay
Employe
e
Level 0
Level 1