Skip to content

ER diagram guide

How to draw an ER diagram on Mac

An entity-relationship (ER) diagram shows the things your data describes and how they relate. In Canvos you draw entities as rectangles, relationships as diamonds and cardinality as text labels, in the Chen style, then export SVG or PNG for your design document.

When to use a er diagram

  • Early database design, before you commit to tables and columns.
  • Explaining a domain model to a product manager or a new teammate.
  • Reviewing whether a requirement implies a one-to-many or many-to-many relationship.

Which Canvos tools to use

Canvos toolUse it for
RectangleAn entity such as Customer or Order
DiamondA relationship such as places or contains (Chen notation)
EllipseAn attribute, if you want attributes on the diagram
LineConnection between an entity and a relationship or attribute
TextCardinality such as 1 and N, and key markers

Steps

  1. List the nouns in your requirements. Those are candidate entities.
  2. Draw one rectangle per entity and place related entities near each other.
  3. Add a diamond between each related pair and name it with a verb.
  4. Connect entities to diamonds with lines and write the cardinality (1, N, M) next to each end.
  5. Add attributes as ellipses only for the entities where they help the reader, and mark the identifying one.
  6. Check the diagram by reading each relationship aloud: a Customer places many Orders.

Draft it with AI

Sign in with email or Google, open the AI prompt, and paste a description. Canvos draws shapes and arrows you can edit like anything else. Example prompt:

ER diagram, left to right. Entities: Customer, Order, Product. A Customer places many Orders. An Order contains many Products. Draw relationship diamonds labelled places and contains between the entities.

The free plan includes 20 AI generations a day, and Pro ($6/month) raises that to 500. Treat the result as a first draft and check every arrow.

Tips

  • Show only the attributes that matter. A full column list belongs in the schema, not the diagram.
  • Resolve many-to-many relationships into a joining entity before you build tables.
  • Use the same noun in the diagram and in the code.

What Canvos does not do for this diagram

Canvos does not provide crow's foot notation, table-style entities with attribute lists, or SQL import and export. It suits conceptual sketches. Use a database modelling tool when you need a schema generated from the diagram.

FAQ

Does Canvos generate SQL from an ER diagram?

No. Canvos is a general whiteboard, so the diagram is a drawing and not a schema. Use it for conceptual design.

Which ER notation can I draw?

Chen-style notation maps directly onto Canvos shapes: rectangles, diamonds and ellipses. Crow's foot symbols are not built in.

How big can an ER diagram be?

The canvas is infinite, but readability drops past about a dozen entities. Draw one diagram per subdomain.