
- #Uml editor parameterized class how to#
- #Uml editor parameterized class professional#
- #Uml editor parameterized class download#
The arrow points to the part and the diamond points to the whole Method parameters, local variables, static method calls The whole and part cannot be separated, and the life cycle is consistent For example, the human body is composed of limbs, and the limbs cannot exist without the human body, and the human body cannot be complete without limbs "1" *- "2" ArmĪt the same time, you can also see the one to many number representation method, which is wrapped in double quotation marks and placed between the line segment and Class. In the combinatorial relationship, the whole and part are inseparable, the life cycle of the whole and part is consistent, and the existence without each other is meaningless. On the contrary, if the Department is dissolved, employees can go to other departments (the whole and part can be separated) o- represents a hollow diamond combination For example, there are many employees in the Department, and the Department still exists after employees leave. The aggregation relationship is weaker than the combination, and the whole and part can be separated. In java, the relationship between a Class and its member variable Class type is the relationship between the whole and part. The latter two relationships, aggregation and combination, belong to association relationships, which are used to represent the relationship between the whole and part in the association relationship. Bidirectional association can omit arrow. Husband2 - it is stronger than dependency, it is solid line + arrow.

In addition, association can represent various relationships such as one-to-one, one to many, many to one, many to many and so on. For example, the relationship between husband and wife, teachers and students in real life. Compared with the temporary and unidirectional nature of dependency relationship, association relationship is long-term and equal (two-way) Therefore, the relationship represented by association is stronger than dependence.

|> Flyableįlyable, relationship means "ownership". Implementation relationship, corresponding to the implements keyword. Parent2 specify inheritance relationship realization
#Uml editor parameterized class how to#
Next, let's learn how to write beautiful UML, starting with Hello World like learning other languages. Then you can "write" UML and preview it in VSCode. You only need to make the following configuration: If you use the VSCode plug-in, you can also use cloud rendering.

It should be noted that the local rendering of PlantUML depends on Graphviz, and the environment variables need to be installed and configured in advance. Of course, it also provides plug-ins for IDEA and VSCode.
#Uml editor parameterized class download#
You can download jar files directly from the official website for execution. PlantUML is a java program, so it can run with JDK. This article summarizes the basic usage of PlantUML to help you get started quickly.
#Uml editor parameterized class professional#
Because it uses special DSL for drawing, compared with other tools, the diagram of PlantUML is not "drawn" but "written".Īlthough there is a certain learning cost, it can draw more professional UML diagrams, and the text format is easy to save. Many people know it, but few people use it. Here is a tool for drawing UML: PlantUML 1. Many people use PrecessOn or darw.io to draw UML, which is barely available but not professional. When writing technical documents, people often need to draw UML diagrams.
