Two diagram tools are introduced in this post.
Gliffy Diagram is a diagram tool with which you can draw many types of diagrams. You can install a free version from chrome web store. I think it can satisfy daily requirements about creating most diagrams.
PlantUML is another interesting diagram tool. THe core of PlantUML is a DSL to describe diagrams like sequence diagram, class diagram, Gantt diagram and so on. You can use the DSL to create your diagram in text. After that you can use the tool provided by PlantUML to render the text into an image. This is great because with the text it’s very easy to describe and maintain(especially in a version control system), and your focus is not the shapes, fonts or lines, but the topology of the elements in the diagram. PlantUML also provides plug-ins for IDEs like IntelliJ IDEA, Eclipse and etc.
Here is an example. You can create a diagram with text below:
1 | @startuml test.puml |
┌───┐ ┌─────┐ ┌───┐
│Bob│ │Alice│ │Max│
└─┬─┘ └──┬──┘ └─┬─┘
│ Hello! │ │
│──────────────>│ │
│ │ │
│ │ Who is he? │
│ │──────────────>│
┌─┴─┐ ┌──┴──┐ ┌─┴─┐
│Bob│ │Alice│ │Max│
└───┘ └─────┘ └───┘
1 |
|
The PlantUML application will start with a GUI interface, and a “test.png” file is generated in the directory automatically.