Data Model Diagram Notation Guide
A reference for enterprise data modeling, architecture and industry exchange.
An entity box commonly names a concept and lists attributes. A primary key marks the chosen row identifier; foreign keys show references where the notation includes them. Clearly label relationship ends and multiplicity, such as one-to-many, instead of assuming a reader knows the convention.
Entity relationship diagrams
An entity box commonly names a concept and lists attributes. A primary key marks the chosen row identifier; foreign keys show references where the notation includes them. Clearly label relationship ends and multiplicity, such as one-to-many, instead of assuming a reader knows the convention.
Optionality and cardinality
Cardinality describes how many instances may participate in a relationship. Optionality describes whether participation is required. State the range on both ends when relevant, for example zero or one versus exactly one. Tool symbols differ, so always include a legend or explanatory labels.
Data flow and architecture diagrams
Use consistent shapes for systems, stores, transformations and actors. Label arrows with the data or event moved and distinguish direction of data from control or dependency. Show trust or ownership boundaries when they matter to the question.
Make a diagram readable
Choose a scope, audience and question first. Keep naming aligned with the glossary, avoid crossing lines where possible and provide definitions for abbreviations. Add a title and revision context, validate with owners, and maintain an editable source. See How to Draw Data Architecture Diagrams.
Apply with care
Confirm definitions, current versions, usage rights and implementation expectations with authoritative sources and accountable domain owners. Record local mappings, assumptions and changes so consumers can understand the scope of the model.
Select notation by review need
Entity-relationship notation can clarify entities, attributes, keys and cardinality. UML class diagrams can express classes and relationships in a software design context. Data-flow diagrams show movement and transformation. Architecture views show systems, boundaries and deployment. Choose the notation that helps the intended reader answer the question.
Make symbols and cardinality explicit
Include a legend for optionality, identifiers, relationship direction, inheritance or data flow. State whether a line means ownership, reference, event flow or dependency. Mark one-to-one, one-to-many and many-to-many behavior clearly. A line without a label can have several interpretations.
Keep diagrams readable and traceable
Separate conceptual, logical and physical detail when one drawing becomes crowded. Use stable names and link to definitions, contracts or implementation artifacts. Avoid showing every column on an enterprise context diagram. Provide detail in a focused view and retain a path back to the whole system.
Review the diagram with examples
Walk through a normal record, an exception and a change over time. Confirm the symbols match actual cardinality and lifecycle. Ask another reader to explain the diagram without help; ambiguity is a design issue to fix.
- Does the notation fit audience and purpose?
- Are symbols and relationship meanings defined?
- Are views separated at useful levels?
- Can model elements be traced to definitions?
- Has the diagram been reviewed against scenarios?
Worked example: show an optional relationship
For an order line that must belong to one order, show mandatory participation on the line side and one-to-many cardinality from order to line. If an order can exist before it has lines, model that optionality explicitly. State whether a relationship is identifying and how keys are formed. Crow's foot, UML, and other notations differ visually, so include a legend and avoid mixing conventions without explanation.
For a data flow diagram, label transformation and ownership boundaries, not just arrows. Distinguish a data store from a business entity and a movement from a logical relationship. Use consistent names and link to detailed contracts rather than cramming every attribute into one picture.
Review a diagram for ambiguity
Ask a reader to explain cardinality, optionality, direction, and scope without the author's narration. Confirm that exclusions and unresolved relationships are visible. Keep diagrams versioned with the model and ensure they can be regenerated or reviewed after changes. A readable diagram communicates a decision; it is not a substitute for constraints and definitions.
Choose diagram type by review question
An entity relationship diagram explains structure and cardinality; a sequence diagram explains interactions over time; a data flow diagram explains movement and transformations; a deployment diagram explains runtime placement. Pick the smallest set that answers the design questions and link related views with shared identifiers.
Use a legend for notation, distinguish current from target state, and label boundaries and ownership. Avoid diagrams that mix physical products, logical concepts, and data movement without explanation.
Review diagrams under version control
Keep source files, notation legend, model version, owner, and update date together. Compare diagram changes with schema and relationship changes. Ensure generated diagrams are reproducible and manual annotations remain accurate.
Review readability with the intended audience and retain historical versions when they explain prior decisions.