The birth and renewal of new technology, the discovery and use of the tools are two things that make people happy.
Remember the time when you struggled to draw flowcharts under Visio, and now everything becomes so easy, because there are plantuml!
Official website: http://plantuml.com/
This tool can be integrated with various Ides, this article mainly introduces the integration process with eclipse.
First, plug-in installation
1. Different versions depending on eclipse
Click Help->install new Software or
Click Help->software update->find and install
2. Enter the address in the work with option in the dialog box that pops up
http://files.idi.ntnu.no/publish/plantuml/repository/
3. Select All
4. Download and install
5. Restart Eclipse
Second, installation verification
The option to see 1 (Small red box) indicates that the installation was successful.
Third, the use
1. Edit the file testplantuml
---<-- bob:another authentication response@enduml
2. Display results
Click Window->show view->other->plantuml->plantuml
If you see figure 2, Congratulations! You can start a fun flowchart drawing tour.
Iv. Export
In Figure 2, you can right-click to export the generated flowchart and save it as a PNG format.
Five, another drawing tool Graphviz
Official website: http://www.graphviz.org/
1. Download installation no longer repeat
2. The integrated configuration with PLANTUML is shown in the Red box section of Figure 1.
3. When using, note the PLANTUML identifier at the beginning of the dot script.
@startumldigraph G {node [peripheries=2Style=filled color="#eecc80"]edge [Color="Sienna"Fontcolor="Green"]main, Parse-Execute;maininit [arrowhead =Box];mainCleanupi,Main;make_string[label= Once Shape=parallelogram style=filled]executeMake_string[label=go style=dashed arrowtail=Diamond];executeprintf [shape=Box];init-Make_string;mainPrintf[dir=None];executeCompare[dir=both];} @enduml
Show me the product of the sample dot
Seven, more plantuml of the study reference
Http://translate.plantuml.com/zh/PlantUML_Language_Reference_Guide_ZH.pdf
Eclipse Installation PLANTUML plug-in