SlideShare uma empresa Scribd logo
How to Draw DFD with Multiple Context
Levels?
Functional Decomposition is the process of taking a complex process and breaking it down into
its smaller and simpler parts. Each of which can be broken down further. Once you've reached
the lowest level of decomposed pieces of a subsystem, developers can think about how to start
coding those functions. As you are working on the simplest functionality the developer can
possibly work with the target system under developed. Therefore developing and testing those
functionalities becomes much easier.
In this tutorial, you will be creating a context level DFD and expanding the main process shape
into the level 1 DFD.
Creating Context Level DFD
Context level DFD, also known as level 0 DFD, sees the whole system as a single process and
emphasis the interaction between the system and external entities. Let's draw a context DFD.
1. To create a DFD, select Diagram > New from the toolbar.
2. In the New Diagram window, select Data Flow Diagram and click Next.
3. Enter Context Diagram as diagram name and click OK to confirm.
4. Name the diagram Context Diagram.
5. We need to create the main process. Drag Process from diagram toolbar to diagram.
Name it Online Bookstore. We will use online bookstore as an example to show you how
to create multiple levels DFD.
6. As you can imagine, customers will be ordering books through the system. Therefore,
add an External Entity to diagram and name it Customer. Like creating process, you can
create an external entity by dragging External Entity from diagram toolbar to diagram.
7. A data flow is used to represent the movement of data between different parts of the
system. In this case, "order" is a data created by customer and submitted into the system.
Therefore, create a data flow from Customer to Online Bookstore. To do this, move the
mouse pointer over Customer. Drag out the Resource Catalog button.
8. Release the mouse button on Online Bookstore and select Data Flow from Resource
Catalog. This creates a data flow connector.
9. Name it order.
10. The book store will finally deliver the books to the customer. Make use of the Resource
Catalog to create a data flow from Online Bookstore to Customer. Name the flow ordered
books.
That's all for the context diagram. As we see the entire system as a single process, there is
just one process shape created in this DFD level. In the next section you will decompose
the Online Bookstore process and draw its detail.
Creating Level 1 DFD
In this section, you are going to draw the level 1 DFD to show the main functions of online
bookstore.
1. Right click on Online Bookstore and select Decompose from the popup menu.
2. The data stores and/or external entities connected to the selected process would be
referred to in the level 1 DFD. So when you are prompted to add them to the new
diagram, click Yes to confirm. Note that the new DFD should look very similar to the
context diagram initially. Every element should remain unchanged, except that the main
process (from which this new DFD decomposes) is now gone and replaced by a blank
space (to be elaborated).
3. Right click on the background of diagram and select Rename... from the popup menu.
Name the diagram Level 1 DFD.
4. There is a process that receives customer order and store it into a database. Let's create a
process Receive Order and a data store Orders. Add data flows in between.
5. When an order is invalid, there should be another process that involves contacting the
customer and clarifying his/her need. Create a process Handle Invalid Order. Add
suitable data flows between the shapes. Here you may use a bi-directional data flow to
represent the a dialog flow.
6. There is another process that handles shipment. Create the Ship Order process. Again,
add appropriate data flows between the shapes.
That's all for this tutorial. Depending on the area of interest, you may create further levels
to show the system in more detail. As you can imagine, the Ship Order process can be
elaborated into smaller functional units (processes) like packaging, prepare invoice,
arrange deliver, etc.
Resources
1. OnlineBookstore.vpp
User who viewed this tutorial also viewed
 What is Data Flow Diagram (DFD)? How to Draw DFD?
 How to Write Effective Use Cases?
 Data Flow Diagram: Examples - Food Ordering System
 How to Model Relational Database Design with ERD?
 Share and Discuss Process Map Online

Mais conteúdo relacionado

Semelhante a How to draw dfd with multiple context levels

Data flow diagram
Data flow diagram Data flow diagram
Data flow diagram
Nidhi Sharma
 
Dfd over flowcharts
Dfd over flowcharts Dfd over flowcharts
Dfd over flowcharts
Ashwathy Nair
 
Generic steps in informatica
Generic steps in informaticaGeneric steps in informatica
Generic steps in informatica
Bhuvana Priya
 
Informatica complex transformation i
Informatica complex transformation iInformatica complex transformation i
Informatica complex transformation i
Amit Sharma
 
130297267 transformations
130297267 transformations130297267 transformations
130297267 transformations
Sunil Pandey
 
Data flow diagrams (2)
Data flow diagrams (2)Data flow diagrams (2)
Data flow diagrams (2)
Ujjwal 'Shanu'
 
Df dtutorial
Df dtutorialDf dtutorial
Df dtutorial
Alex Ali
 
Open ERP Version 7 Functional & Technical Overview
Open ERP Version 7 Functional & Technical OverviewOpen ERP Version 7 Functional & Technical Overview
Open ERP Version 7 Functional & Technical Overview
Pragmatic Techsoft
 
Refer to the following figure which contains drafts of a context and l.docx
Refer to the following figure which contains drafts of a context and l.docxRefer to the following figure which contains drafts of a context and l.docx
Refer to the following figure which contains drafts of a context and l.docx
lmarie40
 
Informatica complex transformation ii
Informatica complex transformation iiInformatica complex transformation ii
Informatica complex transformation ii
Amit Sharma
 

Semelhante a How to draw dfd with multiple context levels (20)

DataFlowDiagram.ppt
DataFlowDiagram.pptDataFlowDiagram.ppt
DataFlowDiagram.ppt
 
Data flow diagram
Data flow diagram Data flow diagram
Data flow diagram
 
Dfd2
Dfd2Dfd2
Dfd2
 
Oracle ADF 11g Tutorial
Oracle ADF 11g TutorialOracle ADF 11g Tutorial
Oracle ADF 11g Tutorial
 
Dfd over flowcharts
Dfd over flowcharts Dfd over flowcharts
Dfd over flowcharts
 
Generic steps in informatica
Generic steps in informaticaGeneric steps in informatica
Generic steps in informatica
 
DFD Week 08.pptx
DFD Week 08.pptxDFD Week 08.pptx
DFD Week 08.pptx
 
Informatica complex transformation i
Informatica complex transformation iInformatica complex transformation i
Informatica complex transformation i
 
130297267 transformations
130297267 transformations130297267 transformations
130297267 transformations
 
Data flow diagrams (2)
Data flow diagrams (2)Data flow diagrams (2)
Data flow diagrams (2)
 
Df dtutorial
Df dtutorialDf dtutorial
Df dtutorial
 
Mca 504 dotnet_unit5
Mca 504 dotnet_unit5Mca 504 dotnet_unit5
Mca 504 dotnet_unit5
 
Df dtutorial
Df dtutorialDf dtutorial
Df dtutorial
 
Data Flow Diagrams
Data Flow DiagramsData Flow Diagrams
Data Flow Diagrams
 
Data Flow Diagram (Risath)
Data Flow Diagram (Risath)Data Flow Diagram (Risath)
Data Flow Diagram (Risath)
 
Data Flow Diagram.pptx
Data Flow Diagram.pptxData Flow Diagram.pptx
Data Flow Diagram.pptx
 
Open ERP Version 7 Functional & Technical Overview
Open ERP Version 7 Functional & Technical OverviewOpen ERP Version 7 Functional & Technical Overview
Open ERP Version 7 Functional & Technical Overview
 
Refer to the following figure which contains drafts of a context and l.docx
Refer to the following figure which contains drafts of a context and l.docxRefer to the following figure which contains drafts of a context and l.docx
Refer to the following figure which contains drafts of a context and l.docx
 
Informatica complex transformation ii
Informatica complex transformation iiInformatica complex transformation ii
Informatica complex transformation ii
 
Creating a dot netnuke
Creating a dot netnukeCreating a dot netnuke
Creating a dot netnuke
 

Mais de Curtis Tsang

Mais de Curtis Tsang (7)

Part-time Technical Writer – Outsource & Off-Store
Part-time Technical Writer – Outsource & Off-StorePart-time Technical Writer – Outsource & Off-Store
Part-time Technical Writer – Outsource & Off-Store
 
Why UML Modeling
Why UML ModelingWhy UML Modeling
Why UML Modeling
 
Visual paradigm-leaflet
Visual paradigm-leafletVisual paradigm-leaflet
Visual paradigm-leaflet
 
PMBOK Planning Process Group
PMBOK Planning Process GroupPMBOK Planning Process Group
PMBOK Planning Process Group
 
Intro booklet
Intro bookletIntro booklet
Intro booklet
 
14.1 features
14.1 features14.1 features
14.1 features
 
Leaflet14 1
Leaflet14 1Leaflet14 1
Leaflet14 1
 

Último

AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
Alluxio, Inc.
 

Último (20)

Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
Paketo Buildpacks : la meilleure façon de construire des images OCI? DevopsDa...
 
INGKA DIGITAL: Linked Metadata by Design
INGKA DIGITAL: Linked Metadata by DesignINGKA DIGITAL: Linked Metadata by Design
INGKA DIGITAL: Linked Metadata by Design
 
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with StrimziStrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi
StrimziCon 2024 - Transition to Apache Kafka on Kubernetes with Strimzi
 
De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FME
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
 
5 Reasons Driving Warehouse Management Systems Demand
5 Reasons Driving Warehouse Management Systems Demand5 Reasons Driving Warehouse Management Systems Demand
5 Reasons Driving Warehouse Management Systems Demand
 
Studiovity film pre-production and screenwriting software
Studiovity film pre-production and screenwriting softwareStudiovity film pre-production and screenwriting software
Studiovity film pre-production and screenwriting software
 
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAGAI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
AI/ML Infra Meetup | Reducing Prefill for LLM Serving in RAG
 
10 Essential Software Testing Tools You Need to Know About.pdf
10 Essential Software Testing Tools You Need to Know About.pdf10 Essential Software Testing Tools You Need to Know About.pdf
10 Essential Software Testing Tools You Need to Know About.pdf
 
A Guideline to Gorgias to to Re:amaze Data Migration
A Guideline to Gorgias to to Re:amaze Data MigrationA Guideline to Gorgias to to Re:amaze Data Migration
A Guideline to Gorgias to to Re:amaze Data Migration
 
KLARNA - Language Models and Knowledge Graphs: A Systems Approach
KLARNA -  Language Models and Knowledge Graphs: A Systems ApproachKLARNA -  Language Models and Knowledge Graphs: A Systems Approach
KLARNA - Language Models and Knowledge Graphs: A Systems Approach
 
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
 
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
AI/ML Infra Meetup | Improve Speed and GPU Utilization for Model Training & S...
 
CompTIA Security+ (Study Notes) for cs.pdf
CompTIA Security+ (Study Notes) for cs.pdfCompTIA Security+ (Study Notes) for cs.pdf
CompTIA Security+ (Study Notes) for cs.pdf
 
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdfA Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
A Comprehensive Appium Guide for Hybrid App Automation Testing.pdf
 
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
Tree in the Forest - Managing Details in BDD Scenarios (live2test 2024)
 
AI/ML Infra Meetup | ML explainability in Michelangelo
AI/ML Infra Meetup | ML explainability in MichelangeloAI/ML Infra Meetup | ML explainability in Michelangelo
AI/ML Infra Meetup | ML explainability in Michelangelo
 
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdf
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdfImplementing KPIs and Right Metrics for Agile Delivery Teams.pdf
Implementing KPIs and Right Metrics for Agile Delivery Teams.pdf
 

How to draw dfd with multiple context levels

  • 1. How to Draw DFD with Multiple Context Levels? Functional Decomposition is the process of taking a complex process and breaking it down into its smaller and simpler parts. Each of which can be broken down further. Once you've reached the lowest level of decomposed pieces of a subsystem, developers can think about how to start coding those functions. As you are working on the simplest functionality the developer can possibly work with the target system under developed. Therefore developing and testing those functionalities becomes much easier. In this tutorial, you will be creating a context level DFD and expanding the main process shape into the level 1 DFD. Creating Context Level DFD Context level DFD, also known as level 0 DFD, sees the whole system as a single process and emphasis the interaction between the system and external entities. Let's draw a context DFD. 1. To create a DFD, select Diagram > New from the toolbar. 2. In the New Diagram window, select Data Flow Diagram and click Next. 3. Enter Context Diagram as diagram name and click OK to confirm. 4. Name the diagram Context Diagram. 5. We need to create the main process. Drag Process from diagram toolbar to diagram. Name it Online Bookstore. We will use online bookstore as an example to show you how to create multiple levels DFD. 6. As you can imagine, customers will be ordering books through the system. Therefore, add an External Entity to diagram and name it Customer. Like creating process, you can
  • 2. create an external entity by dragging External Entity from diagram toolbar to diagram. 7. A data flow is used to represent the movement of data between different parts of the system. In this case, "order" is a data created by customer and submitted into the system. Therefore, create a data flow from Customer to Online Bookstore. To do this, move the mouse pointer over Customer. Drag out the Resource Catalog button. 8. Release the mouse button on Online Bookstore and select Data Flow from Resource Catalog. This creates a data flow connector. 9. Name it order. 10. The book store will finally deliver the books to the customer. Make use of the Resource Catalog to create a data flow from Online Bookstore to Customer. Name the flow ordered books. That's all for the context diagram. As we see the entire system as a single process, there is just one process shape created in this DFD level. In the next section you will decompose the Online Bookstore process and draw its detail.
  • 3. Creating Level 1 DFD In this section, you are going to draw the level 1 DFD to show the main functions of online bookstore. 1. Right click on Online Bookstore and select Decompose from the popup menu. 2. The data stores and/or external entities connected to the selected process would be referred to in the level 1 DFD. So when you are prompted to add them to the new diagram, click Yes to confirm. Note that the new DFD should look very similar to the context diagram initially. Every element should remain unchanged, except that the main process (from which this new DFD decomposes) is now gone and replaced by a blank space (to be elaborated). 3. Right click on the background of diagram and select Rename... from the popup menu. Name the diagram Level 1 DFD. 4. There is a process that receives customer order and store it into a database. Let's create a process Receive Order and a data store Orders. Add data flows in between. 5. When an order is invalid, there should be another process that involves contacting the customer and clarifying his/her need. Create a process Handle Invalid Order. Add suitable data flows between the shapes. Here you may use a bi-directional data flow to represent the a dialog flow. 6. There is another process that handles shipment. Create the Ship Order process. Again, add appropriate data flows between the shapes.
  • 4. That's all for this tutorial. Depending on the area of interest, you may create further levels to show the system in more detail. As you can imagine, the Ship Order process can be elaborated into smaller functional units (processes) like packaging, prepare invoice, arrange deliver, etc. Resources 1. OnlineBookstore.vpp User who viewed this tutorial also viewed  What is Data Flow Diagram (DFD)? How to Draw DFD?  How to Write Effective Use Cases?  Data Flow Diagram: Examples - Food Ordering System  How to Model Relational Database Design with ERD?  Share and Discuss Process Map Online