Click on the “Java base” above, select “Set as star”
Be a positive person, not a positive waste person!
Update articles every day at 14:00, lose a million bits of hair every day…
Source code boutique column
-
Original | Java 2021 Super God Road, very liver~
-
An open source project with detailed annotations in Chinese
-
RPC framework Dubbo source code analysis
-
Network application framework Netty source code analysis
-
Message middleware RocketMQ source code analysis
-
Database middleware Sharding-JDBC and MyCAT source code analysis
-
Job Scheduling Middleware Elastic-Job Source Code Analysis
-
Distributed transaction middleware TCC-Transaction source code analysis
-
Eureka and Hystrix source code analysis
-
Java Concurrency Source Code
Source: JavaMind
-
What is PlantUml?
-
Advantages of PlantUML
-
idea installs the PlantUML plugin
-
Computer installation graphviz
-
idea configuration graphviz
-
Use plantUML to draw a flowchart
-
other
There are always children’s shoes asking, how to draw this flowchart, what tools are used to make this UML class diagram, etc. Today, I recommend an idea plug-in PlantUml to help you quickly complete the drawing.
What is PlantUml
PlantUml is an open source project that supports fast drawing. It defines a complete set of languages for the description of UML diagrams, and generates UML diagrams based on the powerful Graphviz graphics rendering library. The drawn UML diagram can also be exported as a picture, as well as a common vector SVG format file.
Background management system + user applet based on Spring Boot + MyBatis Plus + Vue & amp; Element, supports RBAC dynamic permissions, multi-tenancy, data permissions, workflow, three-party login, payment, SMS, mall and other functions
Project address: https://github.com/YunaiV/ruoyi-vue-pro
Video tutorial: https://doc.iocoder.cn/video/
Advantages of PlantUML
-
Complete text editing, no need to drag and drop controls, automatically adjust the distance between primitives, simple and beautiful
-
It has nothing to do with the development platform and is not limited by the platform. As long as there is the PlantUML jar package, UML diagrams can be generated
-
Support the integration of multiple text editors and ides, such as idea, eclipse, notepad++, etc.
As a Java coder, idea is usually used as the preferred development tool. We mainly introduce the use of idea
Background management system + user applet based on Spring Cloud Alibaba + Gateway + Nacos + RocketMQ + Vue & amp; Element, supporting RBAC dynamic permissions, multi-tenancy, data permissions, workflow, three-party login, payment, SMS, mall and other functions
Project address: https://github.com/YunaiV/yudao-cloud
Video tutorial: https://doc.iocoder.cn/video/
idea installs the PlantUML plugin
File -> Settings -> Plugins Search for PlantUML, find PlantUML integration and install it
Computer installation graphviz
download link
https://graphviz.gitlab.io/_pages/Download/windows/graphviz-2.38.msi
Configure environment variables
First add a variable name GRAPHVIZ_HOME, the variable value is the installation path D:\WorkWare\Graphviz2.38 Add %GRAPHVIZ_HOME%\bin
under the Path directory, and separate multiple configurations with “;” Configure GRAPHVIZ_DOT, the variable value is %GRAPHVIZ_HOME%\bin\dot.exe
Environment variable detection
Open the windows command line, use dot -version to display the following page, which means the configuration is normal
idea configuration graphviz
File -> Settings -> Other Settings -> PlantUML
Using plantUML to draw a flowchart
Create a new uml file
Enter test text
@startuml Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response Alice -> Bob: Another authentication Request Alice <-- Bob: another authentication response @enduml
The real-time flow chart will be displayed on the right
It is also possible to create a UML class diagram based on the classes written. You can also refer to the method we recommended the day before yesterday: an underestimated function in IDEA, draw the project code into a UML class diagram with one click
Other
If you don’t want to install graphviz and want to use it directly, you can download the chrome plug-in PlantUML Viewer, edit the text directly after installation, and display it directly in the browser.
Welcome to join my knowledge planet, discuss architecture and exchange source code together. How to join, Long press the QR code below:
The source code has been updated on Knowledge Planet and the analysis is as follows:
The recently updated series “Introduction to Taro SpringBoot 2.X” has more than 101 articles, covering MyBatis, Redis, MongoDB, ES, sub-database and sub-table, read-write separation, SpringMVC, Webflux, permissions, WebSocket, Dubbo, RabbitMQ, RocketMQ , Kafka, performance testing, etc.
Provides a SpringBoot example with nearly 3W lines of code, and an e-commerce microservice project with more than 6W lines of code.
How to get it: Click “Looking“, follow the official account and reply to 666 to receive, more content will be provided one after another.
If the article is helpful, please read it and forward it. Thank you for your support (*^__^*)
The knowledge points of the article match the official knowledge files, and you can further learn relevant knowledge. Java skill treeHomepageOverview 108610 people are studying systematically