UML (Unified Modeling Language)

  • Structural
    • Class diagram
    • Component diagram
    • Object diagram etc.
  • Behavioral
    • Use case diagram
    • State machine diagram
    • Activity diagram etc.

ER Modeling (Entity Relationship Modeling)

  • ER Modeling is not part of UML spec
  • It is used to model databases only
  • There is no one ERD (Entity Relationship Diagram) spec defined anywhere
  • Class Diagram in UML is closest to be used for ER Modeling
  • There are multiple diagrams/notations to perform ER modeling:
    • Chen’s Notation
    • UML Class Diagram etc.
  • ref: https://stackoverflow.com/questions/48191228/is-erd-considered-a-kind-of-uml-diagram
  • Multiplicity in ERD: (not sure if it is standard) ERD multiplicity|300