0% found this document useful (0 votes)
37 views4 pages

State Chart Diagarm

The document describes state transition diagrams and their purpose, symbols, and notation. A state transition diagram models the different states of an object and transitions between those states based on events. It also provides an example of state transition diagrams for an ATM machine.

Uploaded by

yovaris322
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)
37 views4 pages

State Chart Diagarm

The document describes state transition diagrams and their purpose, symbols, and notation. A state transition diagram models the different states of an object and transitions between those states based on events. It also provides an example of state transition diagrams for an ATM machine.

Uploaded by

yovaris322
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/ 4

1.5.

6 State Transition Diagram

● It shows behavior of class to external environment.


● It shows dynamic behavior in between states.
● It is also called as State Diagram or State Chart Diagram.

Purpose of State Transition Diagram-

▪ Used to represent finite state machine.

▪ Used to model the objects which contain finite states and interaction with outside
world.
▪ Describe the behavior of single object in different event.
How to draw State Transition Diagram?
1. Identify initial and final state.
2. Identify actions/events to be carried out.
3. Show the transition of object from one state to another.

Basic State Transition Diagram Symbols and Notations


1. States-
⮚ It represents states of object during its lifetime.

⮚ It is shown by rectangle with rounded corners.

2. Transition-
⮚ It is a path between various object states.

⮚ Transition is labeled with event that will carried out.

⮚ Transition can come back to itself.

3. Initial State-
⮚ Represents starting point of an object.

⮚ It represents by filled circle followed by an arrow.

4. Final State-
⮚ Represents final state of an object.

⮚ It represents by an arrow pointing to a filled circle nested inside another circle.

5. Synchronization and splitting of control-


⮚ It represents with small bar with two transitions.
⮚ One is fork in single transition splits into multiple transitions.

⮚ Second join in multiple transition combine in to single transition.

Example-State Transition Diagram of ATM machine


1. State Transition Diagram for one Transaction ATM Machine

2. State Transition Diagram for one Session of ATM machine


1.5.7 Deployment Diagram

● It describes static view of system.


● It shows visualization of physical component of system.
Purpose of Deployment Diagram-

● They show the structure of the run-time system


● They capture the hardware that will be used to implement the system and the links
between different items of hardware.
● They model physical hardware elements and the communication paths between them
● They can be used to plan the architecture of a system.
● They are also useful for Document the deployment of software components or nodes
How to draw Deployment Diagram?
1. First identify the artifact like nodes and relationship among nodes.
2. Add other elements to the diagram i.e. component, active object.
3. Add dependency between components and object when required.
Basic Deployment Diagram Symbols and Notations
1. Artifact-
✔ Represents specification of real world entity.

✔ Describe the framework during software development process.

You might also like