First, what is the state diagram
Personally, the process of running a program can be viewed from a certain angle as a process of transition between States. For example: The program is in the state of a, completed an action, can be sent, can be received and so on, then it is in the state of change, into the state two. Then, the description of the state is to record a program execution process. A state diagram is a graph description of all the states that may be achieved in the execution of a program and the transition conditions between states. The reader can clearly understand the execution of the program and its function by reading the state diagram. In addition, I think, through the drawing of the state diagram, a complex program can be divided into a number of parts or sub-process to achieve, so that the problem can be simplified. Therefore, I think it is necessary to draw the state diagram.
Second, the state diagram can describe what
State, and the transition relationship between States. The data or storage range that the program can reach.
Three, I have drawn the state diagram
In the team project I have drawn the following state diagram:
This is the overall state diagram of our soft project, basically can describe the whole process of the project, but also can clearly see the function in the end what
However, the state diagram should be for each module, our project consists of two modules: Login and Query
To split a state diagram:
Landing section:
Query section:
Diagram Description: state diagram