Previously just feel, while reading, while the code, the effect is good,
Now found, while reading, design class diagram, the effect is also good ha, the best book has a class diagram, I can only start by gourd painting scoop,
The tool used is powerdesigner ...
Create a new class diagram, file >> create a project ...
Then click on the selected scheme name: File >> build New model ...
First, a picture of my class diagram, reference < design patterns of Zen > (2nd edition)
Minor problems you have encountered:
Issue 1: The toolbar cannot be found (i.e.: Palette, color palette),
This way:
Solve:
You can also add your own tools according to your own needs.
Issue 2: No lines found (e.g., for inheritance relationships, implementation relationships),
For example, the line that represents the direct inheritance of an interface is not found at first (see the Red arrow in the middle):
You can select the "Generalization" tool in palette to connect the relationship first, then modify the line style,
Specifically want what format, go to the format to choose it,, but to standardize, to indicate what the inherited line is like, to indicate what the line of implementation looks like,
Write to the last found layout is messy,,, found the problem add it again,,,
Uml--powerdesigner Usage Summary