draw.io entity relationship diagram: tables, keys and crow's foot lines
Draw a small data model in draw.io with table shapes and crow's foot lines, for a Daily List model of users, lists and tasks.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: a family tree. Each person is a box of facts. Lines join parents to children. One parent here can have many children. Each child has one parent.
The boxes are entities. The line ends are crow's feet. A referenced key kept on the child is a ; it is not necessarily the parent’s name. Sam, an analyst at Daily List, a to-do list app, draws User, List, and Task.
What it is: , also called diagrams.net, is the diagram editor. This slice is an entity relationship diagram, a picture of tables and how they link. The Entity Relation shapes supply the tables and the crow's foot ends. A process swimlane is the neighbour. That picture shows who does a step. This picture shows what the system stores.
Why it matters: Talk about the screen often skips structure. Sam uses the picture to catch the question early: can a task exist with no list?
PLAIN WORDS · 1 in this section
- swimlane
- a lane on a process drawing for one doer's steps
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the work.
THE REAL JOB A family tree.
- Box
- Line
- Parent name
HOW THE PICTURE MAPS
| In the picture | In the work |
|---|---|
| A person box | An entity table |
| A line from parent to child | A crow's foot line |
| The name of the parent on a child | A foreign key |
| Many children for one parent | A fork end |
WHERE THIS PICTURE STOPS
- A person has two parents, but a task has one list.
- A tree is about birth, but a model is about stored facts.
- A family line is drawn once, but a model line is read both ways.
HOOK
Box, line, parent name.
TELL A FRIEND
Boxes, lines and a parent name.
OFTEN MIXED UP WITH draw.io from zero: a process diagram with swimlanes you can share. That topic draws a process. This one draws stored data and how the tables link.
Sources & standards — 1 source
- Implementation-specific
Using crow’s foot notation in ER diagrams ↗ — draw.io · Single and combined connector ends: zero/one, exactly one, zero/many, one/many; minimum/maximum at both ends. Living product documentation; accessed 2026-11-06; no fixed release/effective date stated
Living product documentation; accessed 2026-11-06; no fixed release/effective date stated. Reviewed for the BA Tools complete-domain audit. Source-based teaching paraphrases product guidance; Daily List examples are synthetic and do not claim execution in a licensed vendor workspace. Public documentation access does not imply permission to redistribute its images.
PRACTISE AND KEEP
Sources for this topic — 2 sources
- Implementation-specific
Using crow’s foot notation in ER diagrams ↗ — draw.io · Single and combined connector ends: zero/one, exactly one, zero/many, one/many; minimum/maximum at both ends. Living product documentation; accessed 2026-11-06; no fixed release/effective date stated
Living product documentation; accessed 2026-11-06; no fixed release/effective date stated. Reviewed for the BA Tools complete-domain audit. Source-based teaching paraphrases product guidance; Daily List examples are synthetic and do not claim execution in a licensed vendor workspace. Public documentation access does not imply permission to redistribute its images.
- Implementation-specific
PostgreSQL 18 — 5.5 Constraints ↗ — PostgreSQL Global Development Group · PostgreSQL 18 section 5.5.2 NOT NULL and 5.5.5 foreign keys: non-null child references and parent-key matching; not a claim that every parent must have a child.
Current documentation identified PostgreSQL 18 as current on 6 November 2026; the not-null and foreign-key sections were opened/read before accepted ER artwork integration. Used as a specific physical-constraint example, not a universal SQL-engine configuration promise. Existing source records remain unchanged.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.