You are on page 1of 9

A Presentation on ER-Diagram

and Communication Diagram


Prepared by:
Rishi jain
Devendra Shekhawat
Yogesh Khetan

What is ER-Diagram?

1976 proposed by Peter Chen

ER diagram is widely used in database design

Represent conceptual level of a database system

Describe things and their relationships in high level

In software engineering, an entityrelationship model (ER model) is a data


model for describing the data or information aspects of a business domain or
its process requirements, in an abstract way that lends itself to ultimately
being implemented in a database such as a relational database.

Components of ER-Diagram:

The primary components of ERD are:


Entity Sets

An entity is an abstract object of some sort, and a collection of


similar entities forms an entity set.

Ex. Departments, Professors ,Students , Administrators.

Attributes

The properties of the entities in the set.

Ex. Name of Departments, Phone No., Address


Relationship

The connections among two or more entity Sets.

Ex. Students and Professors are under a certain department

Notations used in ER-Diagrams:

Example of ER-Diagram

Communication Diagram

UML collaboration/communication diagrams like UML sequence diagrams, are


used to explore the dynamic nature of the software. Collaboration diagrams show
the message flow between objects in an OO application, and also imply the basic
associations (relationships) between classes.

Collaboration diagrams are often used to:

Provide a birds-eye view of a collection of collaborating objects, particularly


within a real-time environment.

Allocate functionality to classes by exploring the behavioral aspects of a system.

Model the logic of the implementation of a complex operation, particularly one


that interacts with a large number of other objects.

Explore the roles that objects take within a system, as well as the different
relationships they are involved with when in those roles

Components of Communication Diagram:

The major elements of the communication diagram :

Frames

Communication diagrams could be shown within a rectangular

frame with the name in a compartment in the upper left corner.

Lifeline

Lifeline is a specialization of named element which

represents an individual participant in the interaction.

Messages

Message in communication diagram is shown as a line

with sequence expression and arrow above the line.


The arrow indicates direction of the communication.

Notations used in Communication Diagram:

Example of Communication Diagram:

You might also like