Entity-Relationship modeling
In the previous sections, we briefly defined the three components of an E-R model: entity, attribute, and relationship. We have also seen a few E-R diagrams, drawn with different notations such as UML or crow’s foot.
In this section, we will define in a bit more detail the E-R models and show how different cases can be represented in these two common notations (UML and crow’s foot).
Main notation
We have already introduced the three components of an E-R model. In this section, we explain how they are represented visually in E-R models:
If attributes are shown, the entity name is at the top and often in bold or bigger and visually separated from the attributes