当前位置:网站首页>EA introduction notes
EA introduction notes
2022-07-05 08:35:00 【Learn open source together】
I'm studying recently EA(Enterprise Architect) Use , Find out EA It's really a powerful design tool , But there are too few learning materials limited to Chinese , Study and record again and again for subsequent reference
This chapter first records the scattered notes recorded during the early use
1. Call in the console window :Start–>Design
Here's the picture :
2. Set the connection style and rules
When using to establish the relationship between elements ,Association The default is without arrows , Here's the picture
How to make lines wait for arrows , Do the following :
1) Set up Association Default with arrow ;2) Remove strict connector syntax restrictions
After setting as above , To re-establish a relationship is to have an arrow , And all Association Lines will have arrows , The effect is as follows
3. stay EA Of Toolbox Introduce elements of other design models ( Take the introduction of package graph as an example )
Generally, you need to select a model when creating a diagram , By default, the tool elements of the selected model , How to load tool elements of other models on this , Set as follows
1) The toolbar , Select the icon above –> choice Change Perspective -->UML–>Structural; Click... After selection Toolbox Of
Then choose... From the pop-up menu Package menu , This time, you can see that the content of the toolbar has become Package The content of
2) Choose Package, The right choice Pin in Toolbox;( Put this element in Toolbox)
3) Click the toolbar again , Select from the menu Default, Enter the original design toolbox , You can see Package Has been added to the current design
4. Change the design element type
For example, will business object Change it to Class type , Just do the following
Keep setting up
Keep setting up
5. How to use EA Implement reverse engineering
Select the corresponding development language , You will be prompted to select the corresponding source directory , After selection, the program will automatically extract the corresponding source file , Generate class diagrams and relationships
6. stay EA Many people cooperate
EA Different versions are available , Support multi person collaboration in team edition and Enterprise Edition , Here we mainly introduce the ways of offline collaboration ; Merge multi person design and multi person design draft through import and Export ;
1) Plan the module and the content outline to be designed in advance
2) Export design content by module or folder
export : Select the folder to export , Then through the shortcut key Ctrl+ALT+E Realization XML Export of
3) Co draft : Import the design materials of many people to form a complete design draft
Import , Select the folder or module to import , Via shortcut key Ctrl+ALT+I Import
The above example is to import the business model just exported into the module of model overview again , Just selected the import of extreme package , Therefore, you need to enter a version number after the import is successful ( Here, the version number can be defined according to your own situation )
The effect after import is shown on the right side of the above figure , My business model has been imported under the current module
7. EA How to draw the end lifeline
The following legend , You need to draw the following hierarchical
1) Set new lifeline : Pass on the canvas Pull out the corresponding lifeline , Then draw the call message line in turn , Pay attention to setting properties in the property panel Lifecycle, If it is new, start with the corresponding line
2) Set delete lifeline :
3) Set execution conditions :
8. This is the author of the design document , Do the following
9. Export of document template
When we're in EA An export document template that is not easy to configure in , In order to share it with other partners or save it for later use , You can export it and share it , You can export the document template as follows
10. State diagram and state machine
1) Create a state machine diagram , Do the following
On the given canvas, drag and drop the corresponding state entity through the toolbox to draw the state diagram , Here's the picture
summary
The above is the preliminary study EA Some usage records in the process , Later, I will make a further introduction to the drawing of specific different types of maps when I have time
边栏推荐
- 剑指 Offer 06. 从尾到头打印链表
- STM32 lights up the 1.8-inch screen under Arduino IDE
- 猜谜语啦(10)
- Guess riddles (4)
- 每日一题——替换空格
- Example 010: time to show
- Example 003: a complete square is an integer. It is a complete square after adding 100, and it is a complete square after adding 168. What is the number?
- Infected Tree(树形dp)
- Affected tree (tree DP)
- 实例010:给人看的时间
猜你喜欢
随机推荐
UE像素流,来颗“减肥药”吧!
MATLAB小技巧(28)模糊綜合評價
Take you to understand the working principle of lithium battery protection board
Brief discussion on Buck buck circuit
Some pitfalls of win10 network sharing
Sword finger offer 09 Implementing queues with two stacks
Matlab tips (28) fuzzy comprehensive evaluation
Affected tree (tree DP)
猜谜语啦(10)
Google sitemap files for rails Projects - Google sitemap files for rails projects
【NOI模拟赛】汁树(树形DP)
Reasons for the insecurity of C language standard function scanf
C语言标准函数scanf不安全的原因
Keil use details -- magic wand
PIP installation
STM32 lights up the 1.8-inch screen under Arduino IDE
How to write cover letter?
Weidongshan Internet of things learning lesson 1
Count the number of inputs (C language)
STM32 outputs 1PPS with adjustable phase