UML's behavior diagram includes: Activity diagram and State diagram
Activity diagrams and state diagrams are diagrams that describe system functions from a dynamic perspective.
A: Summary of the behavior diagram:
Two: The relationship between several graphs
1, the difference between the activity diagram and the state diagram
The activity diagram focuses on describing the state diagram from the behavior of the action to describe the results of the behavior.
2, the difference between the activity diagram and the flowchart
(1) The activity diagram describes the rules of the order relationship of object activity, emphasizing the behavior of the system.
Flowchart describes the processing process, the main control structure is the order, branch, and cycle, each processing process has a strict sequence and time relationship
(2) The activity diagram can represent the concurrency situation, and the flowchart cannot
(3) Activity diagram is Object oriented, flowchart is process oriented
Three: examples