Sign inSign up

mjdk/plantuml

By mjdk

•Updated over 5 years ago

Image
0

603

mjdk/plantuml repository overview

⁠Plantuml

Docker Image for Plantuml (https://plantuml.com⁠)

⁠Plantuml⁠

PlantUML is an open-source tool allowing users to create diagrams from a plain text language. Besides various UML diagrams, PlantUMl has support for various other Software development related formats, as well as visualisation of JSON and YAML files. The language of PlantUML is an example of a domain-specific language. Besides its own DSL, PlantUML also understands AsciiMath, Creole, DOT, and LaTeX. It uses Graphviz software to layout its diagrams and Tikz for LaTeX support. Images can be output as PNG, SVG, LaTeX and even ASCII art. PlantUML has also been used to allow blind people to design and read UML diagrams.
Wikipedia⁠

⁠Uml Diagram Text

diagram.txt

@startuml
Bob -> Alice : hello
@enduml

⁠Run

docker run -it --rm -v "$PWD":/code/ -w /code/ mjdk/plantuml java -jar /opt/plantuml/plantuml.jar diagram.txt

⁠Check the diagram

It generates a diagram in the same directory, do an ls to see the generated diagram file.

ls

Tag summary

Content type

Image

Digest

Size

343.4 MB

Last updated

over 5 years ago

docker pull mjdk/plantuml