当前位置:网站首页>Sequence diagram of UML diagram series
Sequence diagram of UML diagram series
2022-07-25 02:35:00 【Chiba】
UML Sequence diagram of figure series
UML-Unified Modeling Language Unified modeling language , Also known as standard modeling language , It is a kind of language used for visual modeling of software intensive system . Sequence diagram (Sequence Diagram), Also known as sequence diagram 、 Sequence diagram , It's a kind of UML Interaction diagram , It passes through Describes the time sequence of sending messages between objects, and displays the dynamic collaboration between multiple objects . This paper introduces the concept of sequence diagram and its drawing tools .
1 Sequence diagram introduction
The following figure is an example of a complete sequence diagram : Sequence diagram package is a two-dimensional structure diagram , Multiple interactive objects expand horizontally from left to right , Each object has a vertical dotted line ( Lifeline ), The data transmission in the sequence diagram will be carried out from top to bottom along the lifeline .
For a detailed introduction to sequence diagrams, please refer to this Blog , If you want to get started with sequence diagrams quickly , I suggest seeing this video To learn . Here are just a few important knowledge points :
- The return message uses dashed lines , Usually from right to left ( But there are also left to right ):

2 Draw a sequence diagram using the language bird
We can use Visio、ppt Or any other drawing software to draw sequence diagrams , But I prefer PlantUML draw ,PlantUML It is a tool that can be written quickly UML Components of the diagram , You don't have to drag the rectangle yourself 、 Lifeline 、 Arrow and other drawing contents , Just write the corresponding syntax commands , Can automatically generate UML chart , Does it sound interesting ?
And YuQue also supports PlantUML grammar , You can write code and draw directly in the document UML chart . Usage method : After creating a new document , Click the plus sign in the upper left corner , Then select text drawing :
The figure below shows the use of PlantUML Draw a sequence diagram , The grammar is very simple , You only need to understand the sample code on the left side of the figure below to get started .
3 Use VSCode Of PlantUML The plug-in draws a sequence diagram
If you don't want to use YuQue , It can also be in VSCode Search for PlantUML The plug-in draws a sequence diagram , The grammar is the same .
Usage method : Search plug-ins PlantUML, Find the installation with the most downloads :
Create a new file to describe the sequence diagram , The extension of the code file can be as follows :*.wsd, *.pu, *.puml, *.plantuml, *.iuml. Then paste the test code above , Press Alt+d You can see the preview :
4 Use IDEA Draw sequence diagram
IDEA The plug-in function in is against the sky , You don't need to draw your own sequence diagram , Installing a plug-in SequenceDiagram:
Then right-click the name of the method you want to draw the sequence diagram , Selection rule Sequence Diagram:
Then you will see that the sequence diagram has been drawn :
边栏推荐
- VRRP virtual redundancy protocol configuration
- Simulate the implementation of StrCmp function
- Simulation Implementation of string function (Part 1)
- These 11 chrome artifacts are extremely cool to use
- Can PostgreSQL CDC only connect to the main database? Connection from the library reports an error logical decoden
- TS uses a third-party library, and there is no type declaration file error handling
- Gerrit statistics script
- Let's customize the loader
- Nacos service discovery data model
- B2B e-commerce trading platform of heavy metal industry: breaking the state of data isolation and improving the benefits of heavy metal industry
猜你喜欢

Visualization of correlation coefficient matrix
![ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience](/img/26/18fd3106f887f503479f081e29dac3.jpg)
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience

Industrial control safety PLC firmware reverse III
![[pyGame practice] nostalgic classic - do you remember the name of this chess game for children? (must collect)](/img/b3/075ad2d555118272efede5a9969319.png)
[pyGame practice] nostalgic classic - do you remember the name of this chess game for children? (must collect)

Is it necessary to increase the number of milliseconds and save several KB of memory in the program?

Coal industry supply chain centralized mining system: digitalization to promote the transformation and upgrading of coal industry

【C】 Advanced knowledge of file operation

Chinese son-in-law OTA Ono became the first Asian president of the University of Michigan, with an annual salary of more than 6.5 million!

Cloud native platform, let edge applications play out!

Rotating frame target detection mmrotate v0.3.1 training hrsc2016 data set (II)
随机推荐
Why can't reading more books improve your writing?
Server performance monitoring
6-11 vulnerability exploitation - use the built environment to send emails
StrError and PERROR
Go language path is relative, but relative Import paths are not supported in module mode
"No such plugin: cloudbees folder" solution appears when Jenkins selects the recommended plug-in for the first time
Hongmeng harmonyos 3 official announcement: officially released on July 27; Apple slowed down the recruitment and expenditure of some teams in 2023; Russia fined Google 2.6 billion yuan | geek headlin
Flutter apple native Pinyin keyboard input exception on textfield | Pinyin input process callback problem
"Ask the sky" is in place! Yu Jingchuan's "China Space Station" in 2013 is about to set sail in the sea of stars
Standard transfer function
BGP introduction
In the post deep learning era, where is the recommendation system going?
ASP. Net core 6 framework unveiling example demonstration [01]: initial programming experience
R language one page and many pictures
Vs2019 configuring Qt5 development environment
Gerrit statistics script
YuQue - a useful tool for document writing and knowledge precipitation
Simulate the implementation of StrCmp function
Using the artifact typora+picgo, Youdao cloud can automatically upload pictures in markdown without members
Win10 configuring CUDA and cudnn