Mastering DFD Notations: Yourdon & Coad vs. Gane & Sarson in VP OpenDocs

In the world of system analysis and design, clarity is king. When visualizing how data moves through a system, the choice of notation is critical. The image provided offers a clear side-by-side comparison of the two most prominent styles of Data Flow Diagrams (DFDs): Yourdon & Coad and Gane & Sarson.
Both methodologies serve the same ultimate purpose—mapping data flow—but they use different graphical symbols to represent the system’s components. Understanding these differences is the first step to effectively modeling complex systems using tools like Visual Paradigm or OpenDocs.
The Core Components of a DFD
Before diving into the specific shapes, it is essential to understand what we are drawing. A Data Flow Diagram is a graphical representation of the “flow” of data through an information system. Unlike flowcharts, which focus on control flow or sequence, DFDs focus on the movement of data. They highlight four fundamental elements:
- Processes: Transformations of data. These are actions that change data from one form to another.
- Data Stores: Where data rests. These represent databases, files, or physical storage areas.
- External Entities: Sources or destinations of data outside the system. These are people, organizations, or other systems that interact with the system being modeled.
- Data Flows: The paths along which data moves. These are the connections between the other three elements.
Visualizing the Differences: Yourdon & Coad vs. Gane & Sarson
The image breaks down how these two notations represent the four core components. While the logic remains the same, the visual syntax differs significantly.
1. External Entities
External entities represent the “actors” outside the system boundary. In both notations, these are represented by rectangles, but the visual style varies:
- Yourdon & Coad: Uses a simple Rectangle (often depicted with a green fill in modern tools) to represent an entity. It is a straightforward, clean box.
- Gane & Sarson: Also uses a Rectangle (often depicted with a blue fill), but the styling is typically more formal, sometimes incorporating a specific border weight or shape to denote the external nature of the actor.
2. Processes
Processes are the heart of the DFD, representing the work being done. This is where the most distinct difference lies:
- Yourdon & Coad: Uses a Circle. This is perhaps the most recognizable symbol for a process in the Yourdon style. It represents the transformation of data without a specific “cut” or cut-line.
- Gane & Sarson: Uses a Rounded Rectangle. This is the industry standard for G&S diagrams. Crucially, in Gane & Sarson, the process often includes a unique identifier number in the top-left corner (as seen in the image with “1.0”).
3. Data Stores
Data stores represent where data is held at rest. The geometry here is quite different:
- Yourdon & Coad: Uses a Rectangle with a double line on one side (often the left side, though sometimes represented as a simple rectangle depending on the tool’s rendering). It looks like an open file folder.
- Gane & Sarson: Uses a Rectangle with one side open. The distinguishing feature here is the “D” prefix for the identifier (e.g., “D1” in the image) placed inside the open side or adjacent to it. This open-ended box looks like a side view of a file cabinet.
4. Data Flows
Data flows represent the movement. In this aspect, the two notations are identical:
- Both: Use a simple Arrow to indicate the direction of data movement. The arrow connects entities to processes, processes to stores, and so on.
Why the Distinction Matters
When you are building a system architecture, consistency is key. Mixing notations can lead to confusion for developers and stakeholders. If you are using a tool like Visual Paradigm or OpenDocs, you will typically be asked to select a notation style at the beginning of your project.
Choosing between them often comes down to team preference or industry standards. Gane & Sarson is often preferred in modern enterprise architecture because the numbered processes (like 1.0, 1.1) allow for easier referencing and cross-linking in documentation. Yourdon & Coad, with its simpler circles, is sometimes favored for quick, high-level brainstorming sessions.
Conclusion
Whether you prefer the rounded rectangles of Gane & Sarson or the circular processes of Yourdon & Coad, the goal remains the same: to create a clear, unambiguous map of how data travels through your system. By understanding these visual distinctions, you can ensure your documentation is professional, accurate, and easy to interpret.