ER: Mixed Identifying & Non-Identifying

Both solid and dashed lines in the same diagram.

er-mixed-identifying-non-identifying.mmd
erDiagram
  ORDER ||--|{ LINE_ITEM : contains
  ORDER ||..o{ SHIPMENT : ships-via
  PRODUCT ||--o{ LINE_ITEM : includes
  PRODUCT ||..o{ REVIEW : receives
Output
ER diagram, Zombie Mermaid ORDER (no attributes) LINE_ITEM (no attributes) SHIPMENT (no attributes) PRODUCT (no attributes) REVIEW (no attributes) contains ships-via includes receives

More ER diagram examples