Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the inheritance symbol used in ERD diagram?

I am certain that the inheritance symbol used in ERD diagram is the triangular symbol.

However, I am uncertain of the symbol used in UML diagram that is used to symbolize inheritance.

I have searched on the Internet and I have seen the symbol of a circle icon with an underline below it.

May I know which is the correct inheritance symbol used in UML diagram?

Thank you

like image 466
gymcode Avatar asked Sep 07 '25 04:09

gymcode


2 Answers

Both Generalization as Realization have a triangle endpoint.

The difference is the dotted line for Realization (implementation) vs the solid line for Generalization (inheritance).

Generalization and Realization

like image 110
Geert Bellekens Avatar answered Sep 11 '25 09:09

Geert Bellekens


In the world of ER modeling, what you are describing is called generalization/specialization. Another phrase is "is-a relationships. For a related wikipedia article, click here and scroll down to UML.

like image 23
Walter Mitty Avatar answered Sep 11 '25 08:09

Walter Mitty