JournalSQLData modeling1 min

Tips to draw ERD (Entity Relation Diagram)

Identify the entities. The first step in making an ERD is to identify all of the entities you will use.

  • ERD
  • entities
  • relationships
  • cardinality

Tips for constructing an ERD

Here are some best practice tips for constructing an ERD:

  • Identify the entities. The first step in making an ERD is to identify all of the entities you will use. An entity is nothing more than a rectangle with a description of something that your system stores information about. This could be a customer, a manager, an invoice, a schedule, etc. Draw a rectangle for each entity you can think of on your page. Keep them spaced out a bit.

ERD entities

  • Identify relationships. Look at two entities, are they related? If so draw a solid line connecting the two entities.
  • Describe the relationship. How are the entities related? Draw an action diamond between the two entities on the line you just added. In the diamond write a brief description of how they are related.
  • Add attributes. Any key attributes of entities should be added using oval-shaped symbols.
  • Complete the diagram. Continue to connect the entities with lines, and adding diamonds to describe each relationship until all relationships have been described. Each of your entities may not have any relationships, some may have multiple relationships. That is okay.

Reference:

Further resources: