I like the dot and Graphviz tools and used them in projects to visualize complex situations or to create overviews. These visualizations are easy to make and there is ample of tool support. For many years I did not use UML diagrams (beyond whiteboards) because it was painful.
Recently a coworker indicated that the situation changed. PlantUML provides us with decent tooling to get UML diagrams going. IntelliJ and friends which have fine support for PlantUML. On top of that PlantUML generates SVG / PNG images for universal use.
There are two PlantUML features which make it very productive:
- diagrams can be quickly written in any text editor (by use of text files)
- no need to bother tweaking the layout of elements - PlantUML finds the best position of diagram elements for you
Let’s have a look! The following snippet shows how a diagram is “written” in PlantUML:
Here the resulting UML diagram:
I hope this information is helpful to you.
All the best, Mark