You are on page 1of 4

9/18/2016

DataFlowDiagramwithExamplesFoodOrderingSystem

What's New

What is VP

Learning

Support

Pricing

Try Now

Request a Demo

Data Flow Diagram with Examples - Food Ordering System


February 16, 2015

Views: 207,560

PDF

Link

Data Flow Diagram (DFD) provides a visual representation of the ow of information (i.e. data) within a system. By drawing a Data Flow
Diagram, you can tell the information provided by and delivered to someone who takes part in system processes, the information needed in
order to complete the processes and the information needed to be stored and accessed. This article describes and explain Data Flow Diagram
(DFD) by using a food ordering system as an example.

The Food Ordering System Example


Context DFD
The gure below shows a context Data Flow Diagram that is drawn for a Food Ordering System. It contains a process (shape) that represents
the system to model, in this case, the "Food Ordering System". It also shows the participants who will interact with the system, called the
external entities. In this example, Supplier, Kitchen, Manager and Customer are the entities who will interact with the system. In between the
process and the external entities, there are data ow (connectors) that indicate the existence of information exchange between the entities
and the system.

Context DFD is the entrance of a data ow model. It contains one and only one process and does not show any data store.

Level 1 DFD
The gure below shows the level 1 DFD, which is the decomposition (i.e. break down) of the Food Ordering System process shown in the
context DFD. Read through the diagram and then we will introduce some of the key concepts based on this diagram.

https://www.visualparadigm.com/tutorials/dataflowdiagramexamplefoodorderingsystem.jsp

1/4

9/18/2016

DataFlowDiagramwithExamplesFoodOrderingSystem

What's New

What is VP

Learning

Support

Pricing

Try Now

Request a Demo

The Food Order System Data Flow Diagram example contains three processes, four external entities and two data stores.
Based on the diagram, we know that a Customer can place an Order. The Order Food process receives the Order, forwards it to the Kitchen,
store it in the Order data store, and store the updated Inventory details in the Inventory data store. The process also deliver a Bill to the

Customer.
Manager can receive Reports through the Generate Reports process, which takes Inventory details and Orders as input from the Inventory and
Order data store respectively.
Manager can also initiate the Order Inventory process by providing Inventory order. The process forwards the Inventory order to the Supplier
and stores the updated Inventory details in the Inventory data store.

Data Flow Diagram Tips and Cautions


Don't overdrawn
In a Data Flow Diagram, we focus on the interactions between the system and external parties, rather than the internal communications
among interfaces. Therefore, data ows between interfaces and the data stores used are considered to be out of scope and should not be
shown in the diagram.

Don't mix up data ow and process ow


Some designers may feel uncomfortable when seeing a connector connecting from a data store to a process, without seeing the step of data
request being shown on the diagram somehow. Some of them will try to represent a request by adding a connector between a process and a
data store, labeling it "a request" or "request for something", which is wrong.
Keep in mind that Data Flow Diagram was designed for representing the exchange of information. Connectors in a Data Flow Diagram are for
representing data, not for representing process ow, step or anything else. When we label a data ow that ends at a data store "a request", this
literally means we are passing a request as data into a data store. Although this may be the case in implementation level as some of the DBMS
do support the use of functions, which intake some values as parameters and return a result, in Data Flow Diagram, we tend to treat data store
as a sole data holder that does not possess any processing capability. If you want to model the system ow or process ow, use UML Activity
Diagram or BPMN Business Process Diagram instead. If you want to model the internal structure of data store, use Entity Relationship
Diagram.

Resources
Food-Ordering-System.vpp

You may be interested in


Data Flow Diagram (DFD) Tutorial
Tagged: data ow diagram, DFD, business process modeling

https://www.visualparadigm.com/tutorials/dataflowdiagramexamplefoodorderingsystem.jsp

2/4

9/18/2016

DataFlowDiagramwithExamplesFoodOrderingSystem
Writing Effective Use Case
Tagged: use case, User Story, UeXceler, Use Case Diagram

Drawing Entity Relationship


What'sDiagram
New (ERD)
What is VP

Learning

Support

Pricing

Try Now

Request a Demo

Tagged: ERD

Developing As-is and To-be Business Process


Tagged: business process diagram, BPMN, as-is process, to-be process, visual diff

Perform UML Modeling in NetBeans


Tagged: NetBeans, code engineering, ide integration

Tags of this article: DFD, data ow diagram

Comments (12)
written by Pakaya on June 6, 2015
Thanks alot !!! :)

written by sardar Ali on June 26, 2015


thanks

written by Graevenz on July 26, 2015


This site helps alot i am trying the software now

written by GIRI on September 28, 2015


its good....

written by sunil kumar das on February 26, 2016


Thanks alot

written by sandy on April 29, 2016


excellent

written by Irfan Ullah on May 4, 2016


please, is can I read level 2 of this Diagram?

written by Jick Yeung (VP) on May 5, 2016


Hi Irfan,
This example doesnt come with level DFD. You may read the following tutorial instead:
https://www.visual-paradigm.com/tutorials/data- ow-diagram-example-securities-tradingplatform.jsp

written by fdsfsd on August 5, 2016


fsdf

written by Test on August 5, 2016


good dFd

written by Abood on August 19, 2016


data ow diagram graphic (label) Why not have a title

written by Jick Yeung (VP) on August 22, 2016


Hi Abood,
Thank you for your post but we do not quite understand what you mean by to have a title, and what

https://www.visualparadigm.com/tutorials/dataflowdiagramexamplefoodorderingsystem.jsp

3/4

9/18/2016

DataFlowDiagramwithExamplesFoodOrderingSystem
you meant by a label. In the diagram presented under this tutorial, both the shapes and connectors
are labelled. Could you provide more details?

What's New

What is VP

Learning

Support

Pricing

Try Now

Request a Demo

Writecomment

Data Flow Diagram with Examples - Customer Service


System

About us

Reseller Partners

Testimonials

Academic Partners

Users List

ArchiMetric

Data Flow Diagram with Examples - Securities Trading


Platform

WHAT'S NEW

SUPPORT

DOCUMENTATIONS

WHAT IS VP

PRICING

SOLUTIONS

LEARNING

TRY NOW

CONTACT US

Facebook
All rights reserved.

Legal

Privacy statement

https://www.visualparadigm.com/tutorials/dataflowdiagramexamplefoodorderingsystem.jsp

Google+ 1
Site map

Hot News (RSS)

4/4

You might also like