PlantUML for the impatient

The easiest way to test PlantUML is in an online solution that has PlantUML embedded, such as our online server.

Instalación local

Después de las pruebas, puede querer instalar PlantUML localmente.

Necesita estas cosas para ejecutar PlantUML:

¿Ha instalado lo anterior? Entonces simplemente descargue plantuml.jar y ejecútelo para abrir la interfaz gráfica de usuario de PlantUML. No hay necesidad de desempaquetar o instalar nada.

Run PlantUML from the command line

Use PlantUML's command line syntax to include it in your own scripts or documentation tools.

  1. Create a text file with PlantUML commands, like this example called sequenceDiagram.txt:

@startuml
Alice -> Bob: test
@enduml

2. 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.txt

This outputs your sequence diagram to a file called sequenceDiagram.png.


Privacy Policy      Advertise