One of the coolest things about plantuml is the generated PNG actually contains the source code for the image as metadata. If someone gives you an image, they don't also need to send you the source because you can extract it using the plantuml CLI.
I love PlantUML. I was always fond of it in my early days as a software engineer and still use it today, along with all the various ways to draw diagrams out there, whether it's through a web tool like draw.io or Miro or through markup like PlantUML and Mermaid.<p>Some stuff I'd like to share with the rest:<p>- PlantUML's default style has improved since the days of red/brown borders, pale yellow boxes, drop shadows and such but I've attempted fixing it before through a preset style [I've made before here](<a href="https://gist.github.com/jerieljan/4c82515ff5f2b2e4dd5122d354a82b7e" rel="nofollow noreferrer">https://gist.github.com/jerieljan/4c82515ff5f2b2e4dd5122d354...</a>). It's obsolete nowadays, since I'm sure someone has made a style generator somewhere, and last I checked, PlantUML allows a monochrome style out of the box.<p>- [Eraser](<a href="https://app.eraser.io" rel="nofollow noreferrer">https://app.eraser.io</a>) is promising, considering that it's trying to blend both diagram-as-code markup along with the usual visual diagram editor. I'm still seeing if it's worth picking up since Miro's hard to beat.<p>- On an unrelated note, [WikiJS](<a href="https://js.wiki/" rel="nofollow noreferrer">https://js.wiki/</a>) is a self-hosted wiki that happens to support draw.io, PlantUML and MermaidJS diagrams out of the box. Quite handy to have for your own docs.<p>- I use Miro nowadays since it's significantly quicker to draw things freeform and to collaborate live with folks on a whiteboard at the cost of having your diagrams in markup, but it's easy to miss the integration that [you can actually import PlantUML](<a href="https://help.miro.com/hc/en-us/articles/7004940386578" rel="nofollow noreferrer">https://help.miro.com/hc/en-us/articles/7004940386578</a>) and Mermaid diagrams in a Miro board too. You can also do edits too, but it's on its own PlantUML section, of course.
My cross-platform desktop text editor, KeenWrite, allows users to define variables in an external YAML file. The editor calls out to Kroki[1] to convert text-based diagrams to SVG. The diagrams can reference variables and are rendered using EchoSVG[2].<p>KeenWrite[3] can produce PDF documentation from Markdown documents that has PlantUML diagrams with elements stored in an external, machine-readable file. Here are screenshots showing variables on the left, diagram text in the middle, and a real-time render on the right:<p>* <a href="https://raw.githubusercontent.com/DaveJarvis/KeenWrite/main/docs/images/screenshots/01.png" rel="nofollow noreferrer">https://raw.githubusercontent.com/DaveJarvis/KeenWrite/main/...</a><p>* <a href="https://raw.githubusercontent.com/DaveJarvis/KeenWrite/main/docs/images/screenshots/05.png" rel="nofollow noreferrer">https://raw.githubusercontent.com/DaveJarvis/KeenWrite/main/...</a><p>KeenWrite supports all diagrams offered by Kroki, which includes "diagram-plantuml".<p>[1]: <a href="https://kroki.io/" rel="nofollow noreferrer">https://kroki.io/</a><p>[2]: <a href="https://github.com/css4j/echosvg/">https://github.com/css4j/echosvg/</a><p>[3]: <a href="https://github.com/DaveJarvis/keenwrite">https://github.com/DaveJarvis/keenwrite</a>
I'm a big fan of PlantUML. The only issue I have is that the layout algorithm sometimes can be challenging to work with for certain types of diagrams, although this is often due to there being too many nodes in the diagram... so, simplify it?<p>Nevertheless one improvement I would like to see for PlantUML (and similar tools like Mermaid) is a way to separate content and style from layout... i.e perhaps have a viewer that can pop up and let the user reorganise the elements and save the absolute positioning to a separate sidecar file?
The list of many PlantUML kind of tools <a href="https://xosh.org/text-to-diagram/" rel="nofollow noreferrer">https://xosh.org/text-to-diagram/</a>
I use PlantUML to create quick network diagrams.<p>It's the only solution I found which allows tailoring a diagram if it renders poorly.<p>For example, if access switches are to be on the left, and trunk switches on the right, PlantUML is the only solution I found which adequately allows the user to add such constraints, via:<p>S1 --E-- S2
I started using plantuml more rigorously at work. I've found that collaboration on the drawings/diagrams, is simpler and easier as it can be tracked in Git. One additional thing that I've been using as well is the mdBook plugin to embed and render the images as part of a larger book. This has been helpful for large systems when there are many teams involved. We publish the content as github pages on the repos as well.<p>I'd like to start doing this with my open-source as well.<p><a href="https://github.com/sytsereitsma/mdbook-plantuml">https://github.com/sytsereitsma/mdbook-plantuml</a>
Community list of comparisons between Text to Diagram tools: <a href="https://text-to-diagram.com/" rel="nofollow noreferrer">https://text-to-diagram.com/</a>
Somewhat related thing I've discovered recently that I'm finding tremendously useful: ChatGPT knows plantUML so it can generate amazing diagrams just from your prompt.
Here's three interesting Rust projects that use plantuml<p>You can embed plantuml and drawio diagrams in Rust doc comments and have it rendered in the docs, using this crate<p><a href="https://crates.io/crates/rsdoc" rel="nofollow noreferrer">https://crates.io/crates/rsdoc</a><p>And you can generate plantuml from SQL tables using<p><a href="https://crates.io/crates/sqlant" rel="nofollow noreferrer">https://crates.io/crates/sqlant</a> (this one is a rust port of a go tool, <a href="https://github.com/achiku/planter">https://github.com/achiku/planter</a>)<p>And you can embed plantuml in mdbook<p><a href="https://crates.io/crates/mdbook-plantuml" rel="nofollow noreferrer">https://crates.io/crates/mdbook-plantuml</a>
I have been using plantuml with Aws icons for years, already.
I love it. I can write locally, in gitlab and in Confluence.
I can iterate over it and it says right embedded in my docs.