In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
How to draw a class diagram? In view of this problem, this article introduces the corresponding analysis and answers in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible way.
Steps:
1, open the visio drawing software, select the "software" option in the navigation on the left, there will be a lot of pictures on the right, we will see the UML picture, click to select to enter.
2. We will enter the drawing interface. There is a percentage option in the navigation area above. The default drawing area is relatively small, so we can adjust the percentage to make it easier for us to draw.
3. In the navigation on the left, there are many related components, which can be expanded by clicking on the headline. We can select the desired classes, dependencies and other components according to our own needs. If you are familiar with it, you can also search it to get the components you want.
4, find the component you need, left-click to select it, hold down the mouse, drag directly to the right you want to put the drawing area can be released. If you need the same, you can click on the component you have dragged to the right, copy and paste to get it.
5, the component needs to change its name, as long as we double-click the mouse, we can change the name of the component, properties, get the name of the component we think of, and so on.
6. Dependency is a kind of relationship commonly used in UML class diagrams, which shows that a change in the specification of one thing may affect another transaction that uses it, but vice versa. The representation of the dependency is the dashed arrow, and the element at the end of the arrow depends on the element at the head of the arrow, which is the relationship of use-a.
7. Relevance relationship is also a more commonly used relationship. Association is used to describe the connection between classes, which is the relationship of has - a.
8. As long as we carefully sort out the relationship between each module, write a general draft, and then according to the draft, we can easily know the relationship between each other and draw the UML class diagram, but the premise is to master the basic concepts of UML class diagram related knowledge.
The answer to the question on how to draw a class diagram is shared here. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.