DFD Layout Guide (Gane & Sarson)
Here's what goes where for each diagram. Just follow the layout descriptions.
Gane & Sarson Symbol Reminder
- External Entity → Plain rectangle
- Process → Rectangle split by a horizontal line at top (ID in top strip, name below)
- Data Store → Open-ended rectangle (two horizontal lines, open on right)
- Data Flow → Labeled arrow
Diagram 1 — Context Diagram
Center: Process 0 → Online Bookstore System
Left: External Entity → Customer
Right: External Entity → Supplier
Arrows:
| From | To | Label |
|---|---|---|
| Customer | System | Registration Info, Order Request, Payment |
| System | Customer | Order Confirmation, Invoice, Order Status |
| Supplier | System | Stock Info, Supply Confirmation |
| System | Supplier | Purchase Order, Restock Request |
Diagram 2 — Level 0 DFD
External Entities (far left & far right):
- Left: Customer
- Right: Supplier
Processes (center, top to bottom):
P1Customer ManagementP2Order ProcessingP3Inventory ManagementP4Supplier Interaction
Data Stores (middle column, between processes and entities):
D1Customer DBD2Order DBD3Inventory DBD4Supplier DB
Arrows:
Diagram 3 — Lower-Level DFD (Order Processing Exploded)
External Entity (left): Customer
Sub-processes (center, left to right):
P2.1Order CreationP2.2Payment ProcessingP2.3Order Status Update
Data Stores (below the processes):
D2Order DBD5Payment Records
Arrows:
| From | To | Label |
|---|---|---|
| P2.3 | Customer | Order Confirmation / Status Notification |
This gives you all three diagrams fully defined. Just place the shapes according to the layout and draw the labeled arrows between them.