System Modeling must be described in terms of system structure and behavior,Static diagram based on the previous UML diagramBlog learning, we canDrawStatic structure of software systemsIn this case, how should we deal with its behavior activities? This article will be used hereArticleInvolvedUMLThe behavior graph is displayed.
A behavior diagram is used to describe the interaction between the dynamic model of the system and objects. It consists of three types: status chart, activity diagram, and interaction diagram.
Status chart (Statechart diagrams):It is used to describe all possible states of the object of the class and the transfer condition of the State when an event occurs.
Activity diagram (Activity Diagrams):Describes the activities that meet the requirements of the use case and the constraints between the activities. It should be particularly emphasized that the use of activity graphs is conducive to identifying parallel activities of the system.
Interaction diagram:As the name suggests, it is used to describe the interaction between objects. It also includes the sequence diagram and collaborative drawing. A sequence diagram describes the interaction sequence between objects, which mainly reflects the time sequence of message passing between objects. A collaboration diagram describes the cooperative relationship between objects, and focuses more on the objects that have message passing. The sequence diagram and co-drawing are equivalent and can be converted to each other.
It is an introduction to some knowledge points of the three types of graphs, which can help beginners understand them as soon as possible.UMLGraph.
According to the role of the three diagrams, most of their applications are in the design phase of the software development process, which can help us to quickly and clearly understand the system's behavioral activity status.
The above is a brief introduction to the behavior chart.We look forward to your suggestions and comments.-- UMLImplementation diagram of the figure!
For the author information, see:Http://sldhhy.blog.163.com/