The behavior diagrams of UML include: Activity diagram and State diagram
Activity diagrams and state diagrams are graphs that describe system functions from a dynamic perspective.
One: The summary of the behavioral map:
Two: The relationship between several graphs
1, the difference between the activity diagram and the state diagram
Activity diagrams focus on the behavior of the action to describe the state diagram focusing on the behavior of the results to describe
2, the difference between the activity diagram and the flowchart
(1) The activity diagram describes the sequence relation rules of the object's activities, and emphasizes the behavior of the system.
Flowchart describes the process, the main control structure is Order, branch, and cycle, each process has a strict sequence and time relationship
(2) An activity diagram can represent concurrent situations, and a flowchart cannot
(3) Activity diagram is object-oriented, flowchart is process oriented
III: Examples