The latter ones offer a better user interface, including templates and cheat sheets. There is an official one offered by, but there are better choices, such as kkeisuke, LiveUML, or PlantText. If you are just starting out, I recommend a web-based editor. Such services are free to use, either from an IDE plug-in, or from a web-based editor. Using remote rendering, others provide an API to which you send your diagram code, they render the image on the server and return it back to you. On Windows, recent PlantUML versions come with an embedded Graphviz binary, which facilitates the installation a bit.įortunately, you can get started quickly, without installing anything. I recommend that you consult the official manual for installation instructions. To render images locally on your machine, you will need Java, the PlantUML jar file, and Graphviz. PlantUML offers a few other export formats, such as PDF (for which you need additional jar files, see here), ASCII art text, or Tikz/LaTeX. Internally, PlantUML uses Graphviz to determine the node layout, but PlantUML does not offer a Graphviz export as dot files (see here). puml extension) to rasterized graphics like png/ jpg, or vector graphics like eps/ svg files. It converts your diagram files (which typically have the. PlantUML is a Java application, packaged as a jar file. ![]() You can download the snippets as text here. However, PlantUML can create many other kinds of diagrams, as the following gallery illustrates: ![]() Diagrams beyond UMLĪs the name implies, Plant UML may have originally been designed to create UML diagrams. This article provides an understandable introduction, with basic examples. I chose to write this article because the official documentation is somewhat chaotic. Compared to other markup languages, PlantUML offers the most features, is still actively developed, has a very active forum community and has established a large ecosystem of tools, including real-time preview plug-ins for your favorite IDE. In this article and a follow-up post (which I will release in two weeks) I take a detailed look at PlantUML. In a previous article I discussed several markup languages, such as Pichr, Mermaid and PlantUML, which let you write diagrams as code, as plain text files. Integrating diagrams into your documentation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |