The idea plug-in generates use case diagrams, sequence diagrams, class diagrams, and activity diagrams

I would like to recommend an artifact for generating use case diagrams, sequence diagrams, etc.——PlantUML.

       Recently, the software engineering course is about to end, and the end-of-course report must be attached with use case diagrams, sequence diagrams, class diagrams, activity diagrams, etc. The first thing I thought about was that the class diagram could be generated using idea, hehe! Unfortunately I forgot how to use it. After searching and searching, I suddenly found the entry "idea generates sequence diagrams and use case diagrams". At that moment, I was extremely excited (idea can also generate such things, my annoying software engineering homework will be saved!!), as if I had discovered Looking for a life-saving straw, I discovered it—— PlantUML.

       I don’t need to go into details about how to install plug-ins in Idea, just set--plugins--search.

     After installation, you can generate use case diagrams, sequence diagrams, etc. as happily as writing code.

How to use PlantUML

     Right click > New > PlantUML

After clicking PlantUML File, you can select the generated file type:

 

 You can see the various diagrams generated by default. The following is what I wrote (modify the code diagram directly and the diagram will change accordingly):

Use case diagram:

Timing diagram:

Activity diagram:

 

 It can also generate class diagrams, but I used the one that comes with idea by default.

To sum up (I just finished the Level 4 test, I am pretending to be a B, haha), what you need to know is that PlantUML also supports the online version, and you can also download the plug-in in vscode. Nice is right! ! !

 

Guess you like

Origin blog.csdn.net/m0_63080216/article/details/131264529