If you ever have spent hours with a drawing, dragging boxes and formatting arrows, you will appreciate the following possibility: Create your flow charts and UML diagrams with a script, and let a tool draw the lines. It has the following advantages:
- You will not spend your time with drawing and formatting the elements and dragging them around. Instead, you can focus only on the pure information you want to document.
- As a result you will have a small and platform-independent text file, which you can store like a source code, and even put in a version control system.
- It is very useful to document the classes hierarchies since the syntax of the code (e.g. Java) and the syntax of the UML script is very similar.