You are on page 1of 22

Structural and

Behavioral
Diagram
Outline

State
Object Package Component
Machine
Diagram Diagram Diagram
Diagram
State diagram
Simple state diagram
Substate
diagram
Concurrent
State
Object Diagram
Object Diagram

• Object diagram is used to show examples of data structures.

• A class diagram is used to describe the structure of a system


• object diagrams are used as test cases to verify the
accuracy and completeness of the class diagram.
• Object diagrams are created before creation of the class
diagram to discover facts about specific model elements and
their links.
Symbols and
Notations
Class to Object Diagram Example - Order System
Package Diagram
Package Diagram

Package Diagram can be used to 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.
Component
Diagram
Component Diagram

• A component diagram breaks down the actual


system under development into various high
levels of functionality.

• One component is responsible for one task

• One component can interact with other


elements on a need-to-know basis.
Component
Interfaces
Subsystem
Relationships

You might also like