A ray of fire in the dark------------Statechart-------------Elegant modeling language

State diagram

  •    A state diagram illustrates the sequence of states that events go through during the life cycle of the system;
  •    Mainly used for modeling real-time systems;

 

The composition of the state diagram

   condition

        The state of an object refers to a condition or situation during the lifetime of this object during which the object will satisfy certain conditions, perform certain activities, or wait for certain conditions

   transfer

        Transition refers to the transition from one state to another.

 

Things in a state diagram and their explanations

            

 

   example:

     Air Ticketing Status Chart

          

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326778605&siteId=291194637