uml
inicio / programacion / {{page.title}}
{% include toc.html %}
propósito
- notas sobre el uso de UML
planUML
@startuml
Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response
Alice -> Bob: Another authentication Request
Alice <-- Bob: another authentication Response
@enduml
tengo que lanzar
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
y luego despues de cerrar la consola
choco install plantuml
descubro que Chocolatey es un control de paquetea para Windows 👍
una forma de probarlo facil
Make a file containing PlantUML commands, either with an editor or when running other software which calls PlantUML.
Here is a file called sequenceDiagram.txt:
@startuml
Alice -> Bob: test
@enduml
- Run (or have the software call) PlantUML with this file 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
and the result is a nice diagram in sequenceDiagram.png.
funciona bien desde consola generando la imagén rápido pero no consigo que se integre en visual studio code