当前位置:网站首页>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 .
边栏推荐
- Xshell connection server changes key login to password login
- Vmware共享主机的有线网络IP地址
- 2022-7-6 sigurg is used to receive external data. I don't know why it can't be printed out
- Excerpt from "misogyny: female disgust in Japan"
- Mysql怎样控制replace替换的次数?
- .net core 关于redis的pipeline以及事务
- PHP中用下划线开头的变量含义
- Is the spare money in your hand better to fry stocks or buy financial products?
- mysql ”Invalid use of null value“ 解决方法
- The difference between memory overflow and memory leak
猜你喜欢
2022-7-6 初学redis(一)在 Linux 下下载安装并运行 redis
Use day JS let time (displayed as minutes, hours, days, months, and so on)
"New red flag Cup" desktop application creativity competition 2022
566. Reshaping the matrix
gvim【三】【_vimrc配置】
最长上升子序列模型 AcWing 482. 合唱队形
Details of redis core data structure & new features of redis 6
Realize the IP address home display function and number home query
高等數學---第八章多元函數微分學1
【立体匹配论文阅读】【三】INTS
随机推荐
gvim【三】【_vimrc配置】
wpf dataGrid 实现单行某个数据变化 ui 界面随之响应
接口自动化测试-接口间数据依赖问题解决
TPG x AIDU | AI leading talent recruitment plan in progress!
2022-7-6 beginner redis (I) download, install and run redis under Linux
Use day JS let time (displayed as minutes, hours, days, months, and so on)
Build a secure and trusted computing platform based on Kunpeng's native security
请问指南针股票软件可靠吗?交易股票安全吗?
2022-7-6 Leetcode27. Remove the element - I haven't done the problem for a long time. It's such an embarrassing day for double pointers
Mathématiques avancées - - chapitre 8 différenciation des fonctions multivariables 1
Es log error appreciation -limit of total fields
2022-7-6 Leetcode 977.有序数组的平方
常用数字信号编码之反向不归零码码、曼彻斯特编码、差分曼彻斯特编码
c#通过frame 和 page 切换页面
What parameters need to be reconfigured to replace the new radar of ROS robot
Did login metamask
高等数学---第八章多元函数微分学1
Laravel5 call to undefined function openssl cipher iv length() 报错 PHP7开启OpenSSL扩展失败
AutoCAD - how to input angle dimensions and CAD diameter symbols greater than 180 degrees?
Sliding rail stepping motor commissioning (national ocean vehicle competition) (STM32 master control)