+ "source": "### Comparing the Two Diagrams\n\n**Reading the DataJoint diagram**:\n1. **Independent entities at top**: `Productline`, `Office`, `Customer` (underlined)\n2. **Follow solid lines down**: Track how primary keys cascade through the hierarchy\n3. **Identify association tables**: Look for converging lines (e.g., `Orderdetail` links `Order` and `Product`)\n4. **Dashed lines**: Reference relationships that don't cascade identity\n\n**Key differences from the ER diagram**:\n\n| Aspect | Traditional ER (Crow's Foot) | DataJoint |\n|--------|------------------------------|-----------|\n| **Layout** | Arbitrary arrangement | Top-to-bottom workflow order |\n| **Line meaning** | Cardinality only (one vs. many) | Semantic relationship type |\n| **Primary key cascade** | Not visible | Solid lines show direct join paths |\n| **Workflow sequence** | Must read documentation | Clear from vertical structure |\n\nThe vertical layout reveals the workflow: create product lines and offices first, then products and employees, then customers and orders, and finally order details and payments.\n\n:::{seealso}\nFor the complete schema with data and example queries, see the [Classic Sales](../80-examples/010-classic-sales.ipynb) example.\n:::"
0 commit comments