Data engineers draw pictures of data rather than of objects: where it comes from, how it moves, in what order jobs run, and how quality improves layer by layer. This section collects six sample diagrams for a typical data platform, each drawn in full with a walkthrough, a notation legend, a variant, pros and cons, and the diagram as code.
Most of these diagrams are not UML. UML covers software structure and behaviour; data flow diagrams, DAGs, lineage graphs and architecture views are the other standard notations used alongside it.
A data platform has three kinds of question. Logical: which processes and stores exist and what data passes between them (data flow diagrams). Operational: what runs when, in parallel or in sequence, and how real-time paths are partitioned (pipeline DAGs and streaming topologies). Architectural and governance: the overall shape of the platform and the provenance of every number (Lambda/Kappa, medallion and lineage diagrams).
No single picture answers all of them. A DAG says nothing about columns; lineage says nothing about schedules; a medallion view hides the stream partitions. Teams that draw the right view for the question avoid most "the diagram is wrong" arguments.
The top brackets describe the platform's shape; the bottom brackets cut across it. Lineage and the DFD span the whole width because they follow data, not infrastructure.
| Question | Diagram | Sample page |
|---|---|---|
| What data moves between processes, stores and outside parties? | Data flow diagram (Gane-Sarson) | Data Flow Diagram: Order System |
| In what order do batch tasks run, and what is blocked by a failure? | Pipeline DAG | Pipeline DAG Diagram |
| Where did this number come from; what breaks if I change it? | Lineage graph | Data Lineage Graph |
| Do we need separate batch and streaming paths? | Lambda vs Kappa architecture | Lambda vs Kappa Diagram |
| How many partitions and parallel operators; where are shuffles? | Streaming topology | Streaming Topology Diagram |
| Which layer holds raw, clean and business-ready data? | Medallion layer diagram | Medallion Lakehouse Diagram |