plantuml.com
主要是 时序、状态、类图等
java 运行生成图片 https://plantuml.com/starting
Use PlantUML's command line syntax to include it in your own scripts or documentation tools.
Create a text file with PlantUML commands, like this example called
sequenceDiagram.txt:
@startuml
Alice -> Bob: test
@enduml2. Run (or have your software call) PlantUML, using sequenceDiagram.txt as input. The output is an image, which either appears in the other software, or is written to an image file on disk.
For example:
java -jar plantuml.jar sequenceDiagram.txtThis outputs your sequence diagram to a file called sequenceDiagram.png.
Last updated
Was this helpful?