当前位置:网站首页>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 .
边栏推荐
- 566. Reshaping the matrix
- 搜索框效果的实现【每日一题】
- 参数关键字Final,Flags,Internal,映射关键字Internal
- Common response status codes
- call undefined function openssl_cipher_iv_length
- SSRF vulnerability file pseudo protocol [netding Cup 2018] fakebook1
- 最长上升子序列模型 AcWing 1012. 友好城市
- SAKT方法部分介绍
- IP address home location query full version
- "Song of ice and fire" in the eleventh issue of "open source Roundtable" -- how to balance the natural contradiction between open source and security?
猜你喜欢

Advanced Mathematics - Chapter 8 differential calculus of multivariate functions 1

Redis can only cache? Too out!

2022-7-6 sigurg is used to receive external data. I don't know why it can't be printed out

Wired network IP address of VMware shared host

Social responsibility · value co creation, Zhongguancun network security and Information Industry Alliance dialogue, wechat entrepreneur Haitai Fangyuan, chairman Mr. Jiang Haizhou

一个简单LEGv8处理器的Verilog实现【四】【单周期实现基础知识及模块设计讲解】

Deep understanding of array related problems in C language

Dry goods | summarize the linkage use of those vulnerability tools

手把手教会:XML建模

LeetCode简单题分享(20)
随机推荐
Transferring files between VMware and host
Interface automation test - solution of data dependency between interfaces
566. Reshaping the matrix
Help tenants
Environment configuration
libSGM的horizontal_path_aggregation程序解读
请问,在使用flink sql sink数据到kafka的时候出现执行成功,但是kafka里面没有数
"Song of ice and fire" in the eleventh issue of "open source Roundtable" -- how to balance the natural contradiction between open source and security?
PHP中用下划线开头的变量含义
Flink | multi stream conversion
How does MySQL control the number of replace?
Sliding rail stepping motor commissioning (national ocean vehicle competition) (STM32 master control)
2022-7-6 Leetcode 977.有序数组的平方
[fortress machine] what is the difference between cloud fortress machine and ordinary fortress machine?
使用day.js让时间 (显示为几分钟前 几小时前 几天前 几个月前 )
When FC connects to the database, do you have to use a custom domain name to access it outside?
docker部署oracle
搜索框效果的实现【每日一题】
2022-7-7 Leetcode 34. Find the first and last positions of elements in a sorted array
参数关键字Final,Flags,Internal,映射关键字Internal