0% found this document useful (0 votes)
38 views3 pages

What Is A State Machine Diagram

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

What Is A State Machine Diagram

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

What is a State Machine Diagram?

A state diagram is a uml diagram which is used to represent the condition of the system or
part of the system at finite instances of time. It’s a behavioral diagram and it represents the
behavior using finite state transitions.
 State Machine diagrams are also known as State Diagrams and State-Chart Diagrams.
These both terms can be used interchangeably.
 A state machine diagram is used to model the dynamic behavior of a class in response
to time and changing external stimuli( eventS that causes system to changes its state
from one to another).
 We can say that each and every class has a state but we don’t model every class using
State Machine diagrams.
Let’s understand State Machine Diagram with the help user verification example:
Example:

UML Component Diagram


A component diagram is used to break down a large object-oriented system into the smaller
components, so as to make them more manageable. It models the physical view of a system
such as executables, files, libraries, etc. that resides within the node.
It visualizes the relationships as well as the organization between the components present in
the system. It helps in forming an executable system. A component is a single unit of the
system, which is replaceable and executable. The implementation details of a component are
hidden, and it necessitates an interface to execute a function. It is like a black box whose
behavior is explained by the provided and required interfaces.
Notation of a Component Diagram
a) A component
b) A node

Example of a Component Diagram


A component diagram for an online shopping system is given below:

UML Deployment Diagram


The deployment diagram visualizes the physical hardware on which the software will be
deployed. It portrays the static deployment view of a system. It involves the nodes and their
relationships.
Symbol and notation of Deployment diagram
The deployment diagram consist of the following notations:
1. A component
2. An artifact
3. An interface
4. A node
How to draw a Deployment Diagram?
The deployment diagram portrays the deployment view of the system. It helps in visualizing
the topological view of a system. It incorporates nodes, which are physical hardware. The
nodes are used to execute the artifacts. The instances of artifacts can be deployed on the
instances of nodes.
Since it plays a critical role during the administrative process, it involves the following
parameters:
1. High performance
2. Scalability
3. Maintainability
4. Portability
5. Easily understandable
One of the essential elements of the deployment diagram is the nodes and artifacts. So it is
necessary to identify all of the nodes and the relationship between them. It becomes easier to
develop a deployment diagram if all of the nodes, artifacts, and their relationship is already
known.

You might also like