当前位置:网站首页>Idea generate class diagram plug-in UML (super detailed)
Idea generate class diagram plug-in UML (super detailed)
2022-07-28 22:27:00 【Alan-analysis】
Use Idea Of Diagram Role view UML Class diagram
Idea Is a very powerful development environment , Generate in new project according to UML Class diagram to reflect the class association of new application software projects and the construction of classes and methods . This can better help you implement specific application plans , Including programming 、 Source analysis 、 Common troubleshooting, etc . Now , Let's see how to use Idea Of Diagram Special tool generation 、 Show and analyze UML Class diagram .
1. stay Idea To view the class diagram in, you need to install UML plug-in unit , If you have not installed the plug-in, please install the plug-in by yourself , And guarantee that UML The plug-in is in effect .

2. Look at the class diagram
You can check in the Class Use shortcut keys in tabs Ctrl+Alt+Shift+U and Ctrl+Alt+U Look at the class diagram .
Ctrl+Alt+Shift+U and Ctrl+Alt+U Is the difference between the , The former uses Tab Page open the class diagram page , The latter uses The suspended window opens the class diagram page .

It can also be in Class In the tab or Class Click on the file Right click , Choose in turn Diagrams -> Show Diagram -> Java Classes .

Show Diagram and Show Diagram Popup Is the difference between the , The former uses Tab Page open the class diagram page , The latter uses The suspended window opens the class diagram page . The former in this article is an example , After clicking the option, you will get a class diagram similar to the following :

By default , The arrows in the figure represent the following meanings , The color of the center line and font may change with Idea Use different themes to change .

The arrow represents the implementation of the class (implements) Relationship

The arrow represents the inheritance of the class (extends) Relationship

The pattern represents the relationship between inner classes
Other relationship arrows can be referred to UML Appointment
Select a class and right-click to select Jump to Source Option or press the shortcut key F4 , You can jump to the source code file of this class .
In the class diagram, press Ctrl+F12 You can view the list of classes in the diagram and navigate between them .
If you think the word in the current class diagram is too small , Or you can't see clearly , You can use the zoom in button of the toolbar , You can also press and hold... On the keyboard on the class diagram Alt key , And move the mouse , It will have the function of a magnifying glass .
3. How do you use it?
Class diagram Tab Right click menu in page
New: Create a new node element or member , Shortcut key Alt+Insert.
Add class to diagram: Add other classes to the class diagram , Shortcut key Space.
Collapse nodes: Shrink the class diagram of the selected class node , Shortcut key C.
Expand nodes: Expand the class diagram of the selected class node , Shortcut key E.
Management class diagram
Show class details
Use the toolbar above or the right-click menu , You can select the details of the class you want to display , You can choose to display the member variables of the class , attribute , Construction method , Method , Internal classes and other information , You can also control the visibility level or the display range of the file .

Add classes to the class diagram
When we need to check the relationship between other classes and the current class diagram , It can be added to the current class diagram for analysis .
In the class diagram, use the Add class to diagram Options or use shortcut keys Space , Enter and select the class you want to add in the open search box , Or directly drag the class file to the class diagram with the mouse . If the class you want to add is in a third-party package , You can check Include non-project items Select the box and search again .

Delete class nodes from the class diagram
In the class diagram, some classes are not what we want to care about , Or we want the current class diagram to analyze the class relationships we want to see more accurately , We can directly select the class nodes we don't want to see in the class diagram , Then use the delete Key to delete .
View the implementation class and parent class
Select the class node you want to view in the class diagram , Use Show Parents and Show Implementations Options , You can view the parent class and implementation class information of the current class respectively .

Adjust the class diagram layout
Use Layout Options , Then select the sub menu item , You can change the display layout of the current class diagram , To better show the class diagram relationship .(Layout The sub options inside can display the class diagram relationship according to your preferences )

边栏推荐
- HCIP(14)
- Sword finger offer II 057. the difference between the value and the subscript is within the given range (medium array bucket sort sliding window TreeSet)
- Using Baidu easydl to realize chef hat recognition of bright kitchen and stove
- 想要快速成长,先要经历重大打击!
- array_diff_assoc 元素是数组时不比较数组值的办法
- Embrace open source guidelines
- Netease Yunxin 2022q2 product supply station, come and get your product supply plan!
- Summary of the use of hash table set and map when leetcode brushes questions
- 成立不到一年!MIT衍生量子计算公司完成900万美元融资
- 32. Longest valid bracket (difficult stack string)
猜你喜欢

CDN working principle

Can the MySQL create statement be used to create a table structure and append new records

HCIP第七次实验

Intranet penetration learning (III) horizontal movement of domain - planning tasks

If you want to grow rapidly, you must first experience a major blow!

Ordinary practice of JS DOM programming

HCIP(13)
![[CS231N]Lecture_ 2:Image Classification pipelin](/img/4f/de56b071560ada746c587a9dbc5f02.jpg)
[CS231N]Lecture_ 2:Image Classification pipelin

How to establish a decentralized community in Web3

HCIP(12)
随机推荐
HCIP(9)
Ruiji takeout project - development of business development function Day2
Lotus 1.16.0 extend sector expiration time
The binary search boundary value processing based on leetcode35 is used to clarify the boundary value of the judgment condition using the idea of interval
HCIP(9)
HCIP(8)
[cloud native kubernetes] mapping external service under kubernetes cluster eendpoint
hcip实验(15)
Ruiji takeout - background login function development
2021 mathematical modeling group B code
Aimbetter insight into your database, DPM and APM solutions
HCIP(11)
lotus 1.16.0 延长扇区过期时间
79. Word search (medium string array matrix backtracking)
What are the main functions and uses of LCR tester
How about the actual use effect of common source oscilloscope
SQL注入 Less42(POST型堆叠注入)
SQL injection less42 (post stack injection)
想要快速成长,先要经历重大打击!
tutorial/detailed_workflow.ipynb 量化金融Qlib库