Reference · Data flow diagrams
Gane-Sarson notation: the four DFD symbols and how to use them
In short
Gane-Sarson notation is one of the two standard symbol sets for data flow diagrams, from Chris Gane and Trish Sarson's book Structured Systems Analysis: Tools and Techniques. It has four symbols: a process is a rectangle with rounded corners, divided by a line with the process number on top and its name below; a data store is an open-ended rectangle with an identifier such as D1; an external entity is a square; and a data flow is a labelled arrow. The other notation, Yourdon-DeMarco, draws processes as circles and stores as two parallel lines.
Updated · by the ChartCraft team · part of the DFD symbols reference
What are the Gane and Sarson DFD symbols?
Four symbols, one for each part of a data flow diagram. The shapes differ from Yourdon-DeMarco; the meanings do not.
| Symbol | Name | Meaning | How to label it |
|---|---|---|---|
| Process | Work that changes incoming data into outgoing data | Number in the top strip (1.0, 2.0). Below it a verb and an object: Check order. Some versions add the place where it is done in a bottom strip | |
| Data store | Data at rest, kept for later | An ID in the small box (D1, D2) and a plural noun: Orders | |
| External entity | A source or destination of data outside the system | A noun: Customer, Bank, Warehouse | |
| Data flow | Data moving between the other three | A noun for the data: order, receipt |
Lucid's reference describes the Gane-Sarson process as a box that may be labelled with a reference number, the location in the system where the process occurs, and a short title, and the data store as an open-ended rectangle. Textbooks differ on details such as the D1 prefix and the shading of the entity; follow your course.
What does a Gane-Sarson DFD look like?
Here is the order processing of an online shop in three steps: entities first, then processes, then stores and flows.
Step 1
Draw the external entities
Who sends data in and who receives data out? The customer sends orders and gets receipts; the warehouse receives pick lists.
Step 2
Add numbered processes
One rounded box per thing the system does to the data, numbered in order: 1.0 Check order, 2.0 Take payment, 3.0 Send pick list.
Step 3
Add the store and name every flow
Checking an order needs stock levels, so add D1 Products. Name every arrow with the data on it, and check that every process has at least one input and one output.
Draw this in the editor → Opens ChartCraft with this description filled in: “Data flow diagram in Gane-Sarson notation for an online shop: the customer sends an order to process 1.0 Check order, which reads stock levels from data store D1 Products, passes the valid order to 2.0 Take payment, which sends a receipt to the customer and a paid order to 3.0 Send pick list, which sends a pick list to the warehouse.”
How do you read a Gane-Sarson DFD out loud?
Follow each arrow and say what data goes from where to where. Each process gets a sentence with its number.
- The customer sends an order to process 1.0, Check order.
- Check order reads the stock level from data store D1, Products.
- A valid order goes to 2.0, Take payment, which sends a receipt back to the customer.
- The paid order goes to 3.0, which sends a pick list to the warehouse.
What is the difference between Gane-Sarson and Yourdon-DeMarco notation?
Only the shapes of the process and the data store. A diagram can be redrawn from one notation to the other symbol for symbol.
| 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 Gane-Sarson mistakes lose marks?
The rules are the same as in any DFD; these are the ones markers check first.
1. Data flowing straight from an entity to a store
Loses marks
Customer to D1 with no process
Correct
Through a process
Data enters and leaves a store only through a process. Add the process that records it.
2. A process with no output
Loses marks
Inputs only
Correct
At least one input and one output
A process turns inputs into outputs. One with inputs only is what Yourdon calls an infinite sink or black hole; one with outputs only is a spontaneous generation.
3. Yourdon shapes mixed in
Loses marks
A circle in a Gane-Sarson DFD
Correct
Rounded box
Pick one notation per diagram.
Is there a printable Gane-Sarson cheat sheet?
Yes: the four symbols and the two rules on one page.
Can you answer these five Gane-Sarson questions?
Answer, then open the worked answer.
Question 1. Which shape is the data store in Gane-Sarson?
Worked answer
An open-ended rectangle, closed on the left with a small ID box, open on the right.
Question 2. What goes in the top strip of a process box?
Worked answer
The process number, such as 2.0. Lower-level diagrams number their processes 2.1, 2.2 and so on.
Question 3. Can an external entity send data straight to a data store?
Worked answer
No. Data reaches a store only through a process.
Question 4. How is a Gane-Sarson process drawn in Yourdon-DeMarco?
Worked answer
As a circle (bubble) with the same number and name.
Question 5. Name the flow from Take payment to the customer.
Worked answer
With a noun for the data: receipt. Flows are named after what they carry, not the action.
Questions
What are the Gane and Sarson symbols?
A rounded rectangle for a process, an open-ended rectangle for a data store, a square for an external entity, and an arrow for a data flow.
What are the Gane and Sarson DFD symbols?
The four DFD components drawn the Gane-Sarson way: numbered rounded process boxes, open-ended data stores with an ID, square external entities and labelled data flow arrows.
What is a Gane and Sarson DFD?
A data flow diagram drawn with the Gane-Sarson symbols. It shows how data moves between external entities, processes and data stores.
What is the difference between Gane-Sarson and Yourdon symbols?
Gane-Sarson draws processes as rounded rectangles and stores as open-ended rectangles. Yourdon-DeMarco draws processes as circles and stores as two parallel lines.
What is Gane and Sarson notation used for?
Structured systems analysis: modelling how data flows through a business system before it is built.
How are processes numbered in Gane-Sarson?
With a number in the top strip of the box, 1.0, 2.0 and so on, and 1.1, 1.2 for the processes on the diagram that breaks process 1.0 down.
Sources
The rules and names on this page were checked against these documents.
- 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.
- 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.