DFD Layout Guide (Gane & Sarson)

Updated 5 Oct 2026

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:

FromToLabel
CustomerSystemRegistration Info, Order Request, Payment
SystemCustomerOrder Confirmation, Invoice, Order Status
SupplierSystemStock Info, Supply Confirmation
SystemSupplierPurchase Order, Restock Request

Diagram 2 — Level 0 DFD

External Entities (far left & far right):

  • Left: Customer
  • Right: Supplier

Processes (center, top to bottom):

  • P1 Customer Management
  • P2 Order Processing
  • P3 Inventory Management
  • P4 Supplier Interaction

Data Stores (middle column, between processes and entities):

  • D1 Customer DB
  • D2 Order DB
  • D3 Inventory DB
  • D4 Supplier DB

Arrows:


Diagram 3 — Lower-Level DFD (Order Processing Exploded)

External Entity (left): Customer

Sub-processes (center, left to right):

  • P2.1 Order Creation
  • P2.2 Payment Processing
  • P2.3 Order Status Update

Data Stores (below the processes):

  • D2 Order DB
  • D5 Payment Records

Arrows:

FromToLabel
P2.3CustomerOrder 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.