0% found this document useful (0 votes)
28 views32 pages

UML Diagrams Updated

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views32 pages

UML Diagrams Updated

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 32

UML DIAGRAMS Dr.M.

THIRUNAVUKKARASU
Assistant Professor
Dept of Computer Science &
Applications

By Dr.Thirunavukkarasu 30-12-2024 1
UML Diagrams
What is UML?
• Standard language for specifying, visualizing,
constructing, and documenting the artifacts of
software systems, business modeling and other non-
software systems.
• The UML represents a collection of best engineering
practices that have proven successful in the
modeling of large and complex systems.
• The UML is a very important part of developing object
oriented software and the software development
process.
• The UML uses mostly graphical notations to express
the design of software projects.
• Using the UML helps project teams communicate,
explore potential designs, and validate the
architectural design of the software.
Overview of UML Diagrams
Behavioral
Structural
: behavioral features of a system / business
process
: element of spec. irrespective of time
• Activity
• State machine
• Class
• Use case
• Component
• Interaction
• Deployment
• Object
• Composite structure Interaction
• Package : emphasize object interaction

• Communication(collaberati
on)
• Sequence
• Interaction overview
• Timing
UML diagram hierarchy
Class diagram
UML class diagrams show the classes of
the system, their inter-relationships,
and the operations and attributes of the
classes
• Explore domain concepts in the form of a domain
model
• Analyze requirements in the form of a
conceptual/analysis model
• Depict the detailed design of object-oriented or
object-based software
Class diagram
Class diagram
Component diagram
UML component diagrams shows the
dependencies among software
components, including the classifiers
that specify them (for example
implementation classes) and the
artifacts that implement them; such as
source code files, binary code files,
executable files, scripts and tables.
Component diagram
Deployment diagram
UML deployment diagram depicts a static
view of the run-time configuration of
hardware nodes and the software
components that run on those nodes.
Deployment diagrams show the
hardware for your system, the software
that is installed on that hardware, and
the middleware used to connect the
disparate machines to one another.
Deployment diagram
Deployment diagram
Object diagram
• UML Object diagrams (instance
diagrams), are useful for exploring real
world examples of objects and the
relationships between them. It shows
instances instead of classes. They are
useful for explaining small pieces with
complicated relationships, especially
recursive relationships.
Object diagram
Package diagram
• UML Package diagrams simplify
complex class diagrams, it can group
classes into packages. A package is a
collection of logically related UML
elements. Packages are depicted as file
folders and can be used on any of the
UML diagrams.
Package diagram
Activity diagram
• UML Activity diagrams helps to
describe the flow of control of the
target system, such as the exploring
complex business rules and operations,
describing the use case also the
business process. It is object-oriented
equivalent of flow charts and data-flow
diagrams (DFDs).
Activity diagram
Activity diagram
State machine diagram
• UML 2 State machine diagrams can
show the different states of an entity
also how an entity responds to various
events by changing from one state to
another. The history of an entity can
best be modeled by a finite state
diagram.
State machine diagram
State machine diagram
Use cases diagram
UML 2 Use cases diagrams describes the behavior of
the target system from an external point of view. Use
cases describe "the meat" of the actual requirements.
• Use cases. A use case describes a sequence of
actions that provide something of measurable value
to an actor and is drawn as a horizontal ellipse.
• Actors. An actor is a person, organization, or external
system that plays a role in one or more interactions
with your system. Actors are drawn as stick figures.
• Associations. Associations between actors and use
cases are indicated by solid lines. An association
exists whenever an actor is involved with an
interaction described by a use case.
Use cases diagram
Use cases diagram
Use cases diagram
Communication diagram
• UML 2 Communication diagrams used
to model the dynamic behavior of the
use case. When compare to Sequence
Diagram, the Communication Diagram
is more focused on showing the
collaboration of objects rather than the
time sequence.
Communication diagram
Sequence diagram
• UML 2 Sequence diagrams models the
collaboration of objects based on a
time sequence. It shows how the
objects interact with others in a
particular scenario of a use case.
Sequence diagram
THE END

You might also like