当前位置:网站首页>UML sequence diagram (sequence diagram)
UML sequence diagram (sequence diagram)
2022-07-07 14:09:00 【sinat_ thirty-six million seven hundred and eighty-nine thousan】
Sequence diagram (Sequence Diagram): Is an interaction diagram that emphasizes the order of message passing between objects , Also known as sequence diagram or sequence diagram . Describes how objects interact with each other through messages during the execution of a use case or operation , Explains how messages are sent and received between objects and the order in which they are sent .

form :

1、 Lifeline : Indicates when an object exists
2、 news : Messages are generally divided into synchronous messages (Synchronous Message), Asynchronous messaging (Asynchronous Message) And return messages (Return Message). As shown in the figure below :

a. Sync message
The sender of the message passes process control to the receiver of the message , Then pause the activity , Wait for the response message from the message recipient .
b. Asynchronous messaging (Asynchronous Message)
After the sender of the message sends the message to the receiver of the message , Don't wait for a response , You can start another activity .
c. Return message (Return Message)
The return message indicates that... Is returned from the procedure call
d. Self related messages
Represents the call of a method itself and the call of another method by a method in an object

Add :
1、 Interactive clips (Interaction Fragment): A complex sequence diagram can be divided into several small blocks , Each small piece is called an interaction fragment , Surrounded by a large box .

2、 Common operators include :
1) alt: Multiple paths , When the condition is true .
2) opt: Optional , Only if the condition is true .
3) par: parallel , Each fragment is executed concurrently .
4) loop: loop , Fragments can be executed many times .
边栏推荐
- Environment configuration of lavarel env
- Take you to master the three-tier architecture (recommended Collection)
- When FC connects to the database, do you have to use a custom domain name to access it outside?
- 最长上升子序列模型 AcWing 1012. 友好城市
- [high frequency interview questions] difficulty 2.5/5, simple combination of DFS trie template level application questions
- VSCode 配置使用 PyLint 语法检查器
- Environment configuration
- How can the PC page call QQ for online chat?
- 参数关键字Final,Flags,Internal,映射关键字Internal
- [fortress machine] what is the difference between cloud fortress machine and ordinary fortress machine?
猜你喜欢

Indoor ROS robot navigation commissioning record (experience in selecting expansion radius)

社会责任·价值共创,中关村网络安全与信息化产业联盟对话网信企业家海泰方圆董事长姜海舟先生

带你掌握三层架构(建议收藏)

. Net core about redis pipeline and transactions

How to check the ram and ROM usage of MCU through Keil

2022-7-7 Leetcode 844. Compare strings with backspace

Vmware共享主机的有线网络IP地址

2022-7-6 beginner redis (I) download, install and run redis under Linux

手把手教会:XML建模

Parsing of XML files
随机推荐
Take you to master the three-tier architecture (recommended Collection)
TPG x AIDU | AI leading talent recruitment plan in progress!
gvim【三】【_vimrc配置】
. Net core about redis pipeline and transactions
2022-7-6 Leetcode 977.有序数组的平方
LeetCode简单题分享(20)
The difference between memory overflow and memory leak
通过 iValueConverter 给datagrid 的背景颜色 动态赋值
118. 杨辉三角
How does MySQL control the number of replace?
566. Reshaping the matrix
118. Yanghui triangle
Excuse me, why is it that there are no consumption messages in redis and they are all piled up in redis? Cerely is used.
566. 重塑矩阵
IP address home location query
2022-7-6 使用SIGURG来接受外带数据,不知道为什么打印不出来
[network security] SQL injection syntax summary
搜索框效果的实现【每日一题】
libSGM的horizontal_path_aggregation程序解读
js 获取当前时间 年月日,uniapp定位 小程序打开地图选择地点