Detailed state diagram

State diagram

1. Overview of the state diagram

★Describe the sequence of states an object goes through in response to events during its lifetime, and their response to those events

the response to.

★ State diagrams are used to reveal the complex characteristics of Actors, classes, subsystems and components. Model real-time systems.

Second, the composition of the state diagram

★State - The state of an object refers to a condition or situation during the lifetime of the object during which the object will

Some condition is met, some activity is performed, or some event is waited for.

★Transition - A transition is a migration from one state to another. This transfer is made by the modeled entity internal or external

Event fires. For a class, a transition is usually the invocation of an operation that causes a significant change in state

result.

3. Things and explanations in the state diagram
insert image description here
4. Optional activity table for the state
insert image description here
5. Example of the state diagram

​ (1) State diagram of the object
insert image description here
​ (2) Online banking login system
insert image description here

Article content extended learning link

UML overview

Detailed use case diagram

Detailed Class Diagram

Detailed sequence diagram

Collaboration Diagram Detailed

Detailed explanation of activity diagram

Detailed explanation of component diagram

Detailed deployment diagram

Guess you like

Origin blog.csdn.net/qq_40332045/article/details/104028613