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.

SymbolNameMeaningHow to label it
Process (bubble)Shows how inputs are changed into outputsA number and a verb-object phrase, such as VALIDATE INPUT or COMPUTE TAX
StoreA collection of data packets at restThe plural of the packets that flow in and out: ORDERS
TerminatorAn external entity the system communicates withA noun: Customer, Bank
FlowPackets of information moving from one part of the system to anotherThe 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.

RuleWhat it means
No infinite sinksA bubble with inputs but no outputs, also called a black hole, is an error.
No spontaneous generationA bubble with outputs but no inputs is suspicious and generally wrong.
Label everythingUnlabelled flows and processes usually mean sloppy or unfinished work.
Meaningful namesVerb and object for processes, not elastic verbs like DO, HANDLE or PROCESS.
Number the processesSo that each bubble can be found and broken down on a lower level.
Balance the levelsA 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.

Yourdon-DeMarco DFD for an online shop's order processingCustomerWarehouse1Checkorder2Takepayment3Sendpick listPRODUCTSorderstock levelvalid orderpaid orderpick listreceipt
The finished Yourdon-DeMarco DFD, drawn by hand.

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.

ElementYourdon-DeMarcoGane-SarsonNote
ProcessCircle (bubble) against a rounded box with a number strip on top
Data storeTwo parallel lines against an open-ended rectangle with an ID box
External entityYourdon calls it a terminator. Both use a rectangle; Gane-Sarson is often drawn as a shaded square
Data flowThe same in both: a labelled arrow
Gane-Sarson DFD for an online shop's order processingCustomerWarehouse1.0Checkorder2.0Takepayment3.0Sendpick listD1Productsorderstock levelvalid orderpaid orderpick listreceipt
The same DFD in Gane-Sarson notation.

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.

Yourdon-DeMarco DFD symbols cheat sheet: process bubble, store, terminator and flow
One page, free to print and share.

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.

Related references

Describe the system in plain English. ChartCraft draws the data flow diagram.

Data flow diagram generator →