Reference · Data flow diagrams
Yourdon-DeMarco notation: bubbles, stores, terminators and flows
In short
Yourdon-DeMarco notation is the data flow diagram notation of structured analysis as taught by Ed Yourdon and Tom DeMarco. In the Yourdon and DeMarco notation a process is drawn as a circle, often called a bubble, a store is drawn as two parallel lines, a terminator (an external entity) is a rectangle, and a flow is a labelled arrow. It draws the same diagrams as Gane-Sarson notation, which uses rounded boxes and open-ended rectangles instead.
Updated · by the ChartCraft team · part of the DFD symbols reference
What are the Yourdon and DeMarco DFD symbols?
Yourdon's chapter on dataflow diagrams names four components: the process, the flow, the store and the terminator. Each has one symbol.
| Symbol | Name | Meaning | How to label it |
|---|---|---|---|
| Process (bubble) | Shows how inputs are changed into outputs | A number and a verb-object phrase, such as VALIDATE INPUT or COMPUTE TAX | |
| Store | A collection of data packets at rest | The plural of the packets that flow in and out: ORDERS | |
| Terminator | An external entity the system communicates with | A noun: Customer, Bank | |
| Flow | Packets of information moving from one part of the system to another | The data it carries: order, receipt |
Yourdon notes that some analysts draw the process as an oval, a rounded rectangle or a rectangle, and says the difference is cosmetic; the circle is the standard form of this notation. Terminators are outside the system, so the analyst cannot change them.
What rules does Yourdon give for a correct DFD?
Yourdon lists consistency guidelines that make a DFD wrong if broken. These are the ones exam questions test.
| Rule | What it means |
|---|---|
| No infinite sinks | A bubble with inputs but no outputs, also called a black hole, is an error. |
| No spontaneous generation | A bubble with outputs but no inputs is suspicious and generally wrong. |
| Label everything | Unlabelled flows and processes usually mean sloppy or unfinished work. |
| Meaningful names | Verb and object for processes, not elastic verbs like DO, HANDLE or PROCESS. |
| Number the processes | So that each bubble can be found and broken down on a lower level. |
| Balance the levels | A lower-level diagram has the same net inputs and outputs as the bubble it explodes. |
What does a Yourdon-DeMarco DFD look like?
The same online shop as on the Gane-Sarson page, drawn with bubbles. Compare the two drawings symbol by symbol.
Step 1
Terminators first
Customer and Warehouse are outside the system: rectangles at the edge of the page.
Step 2
Bubbles for the processes
One numbered circle per transformation: 1 Check order, 2 Take payment, 3 Send pick list.
Step 3
Store and flows
PRODUCTS between two parallel lines, and a named arrow for every packet of data.
Draw this in the editor → Opens ChartCraft with this description filled in: “Data flow diagram in Yourdon-DeMarco notation for an online shop: the customer terminator sends an order to bubble 1 Check order, which reads stock levels from the PRODUCTS store, passes the valid order to bubble 2 Take payment, which sends a receipt to the customer and a paid order to bubble 3 Send pick list, which sends a pick list to the warehouse.”
How is Yourdon-DeMarco different from Gane-Sarson?
The process and the store change shape; the rules and the flows stay the same.
| Element | Yourdon-DeMarco | Gane-Sarson | Note |
|---|---|---|---|
| Process | Circle (bubble) against a rounded box with a number strip on top | ||
| Data store | Two parallel lines against an open-ended rectangle with an ID box | ||
| External entity | Yourdon calls it a terminator. Both use a rectangle; Gane-Sarson is often drawn as a shaded square | ||
| Data flow | The same in both: a labelled arrow |
The general DFD rules for both notations, levels and balancing are on DFD symbols.
Which Yourdon-DeMarco mistakes lose marks?
Three mistakes follow from the rules above.
1. A bubble named with an elastic verb
Loses marks
Handle data
Correct
Check stock
Yourdon warns against verbs like handle and process: name the actual transformation.
2. A store drawn as a closed box
Loses marks
A rectangle for a store
Correct
Two parallel lines
A rectangle is a terminator in this notation. Stores are two parallel lines.
3. An infinite sink
Loses marks
Flows in, none out
Correct
Flows in and out
Every bubble produces output. One that only absorbs data is a black hole.
Is there a printable Yourdon-DeMarco cheat sheet?
Yes: the four symbols and the consistency rules on one page.
Can you answer these five Yourdon-DeMarco questions?
Answer, then open the worked answer.
Question 1. In the Yourdon and DeMarco notation, how is a process drawn?
Worked answer
As a circle, called a bubble.
Question 2. How is a data store drawn?
Worked answer
As two parallel lines with the store's plural name between them.
Question 3. What is a bubble with inputs and no outputs called?
Worked answer
An infinite sink, also called a black hole. It is an error.
Question 4. What does Yourdon call an external entity?
Worked answer
A terminator, drawn as a rectangle.
Question 5. Bubble 2 is exploded into a lower-level diagram. What must match?
Worked answer
Its net inputs and outputs: the lower diagram must be balanced with bubble 2. Its bubbles are numbered 2.1, 2.2 and so on.
Questions
What are the Yourdon and DeMarco symbols?
A circle (bubble) for a process, two parallel lines for a store, a rectangle for a terminator and a labelled arrow for a flow.
In the Yourdon and DeMarco notation, how is a process drawn?
As a circle, often called a bubble, labelled with a number and a verb-object name.
What is Yourdon DeMarco notation?
The data flow diagram notation of structured analysis associated with Ed Yourdon and Tom DeMarco, using bubbles for processes and parallel lines for stores.
What is the difference between Yourdon and Gane-Sarson?
Yourdon-DeMarco uses circles for processes and parallel lines for stores; Gane-Sarson uses rounded rectangles and open-ended rectangles.
What is a terminator in a DFD?
Yourdon's name for an external entity: a person, organisation or system outside the system that sends or receives data.
What is a bubble chart?
Another name for a data flow diagram, from the circles used for processes in Yourdon-DeMarco notation.
Sources
The rules and names on this page were checked against these documents.
- Ed Yourdon, Just Enough Structured Analysis, chapter 9: Dataflow diagrams. The four components (process, flow, store, terminator) and their symbols, naming rules, consistency rules (infinite sinks, spontaneous generation bubbles), and levelled DFDs.
- Lucid, Data flow diagram symbols. Gane and Sarson: a process box labelled with a reference number, the location where the process occurs and a short title; a data store as an open-ended rectangle.