ER diagram

Entity-relationship diagrams describe a database schema: entities, their attributes, and the cardinality of the relationships between them. zombie-mermaid renders the full crow’s-foot notation along with PK/FK/UK key badges on typed attributes.

Source → render

A schema's entities, and how they relate.

schema.mmd
erDiagram
  CUSTOMER ||--o{ ORDER : places
ER diagram diagram, zombie-mermaid CUSTOMER (no attributes) ORDER (no attributes) places
More examples

More real-world examples.

Keep exploring

Explore the other diagram types.

Pick a look

Live in every built-in theme.