21 DIA: Charts and Diagrams

20190406 Dia is a vector-based drawing tool similar to Microsoft’s Visio. It is suitable for graphical languages such as dataflow diagrams, entity-relationship diagrams, organisation flow % charts, universal modelling language (UML) diagrams, electronic circuit diagrams and much more. It is ideal when the diagram has shapes that recur and are connected by lines.

Dia is extensible through the use of sheets which contain collections of shapes for use in diagrams. The ER sheet, for example, has shapes for different types of entities, attributes and relationships as required when drawing entity-relationship diagrams for database design. %

Dia also runs under Microsoft Windows (see http://hans.breuer.org/dia) providing a free cross platform tool. Storing its diagrams natively as XML documents means that they are accessible on multiple platforms and from other applications. You could even edit the dia XML diagrams by hand. Some applications also generate dia diagrams.

In this chapter we begin with some basics and then a walkthrough that should get you started with dia. We then review the functionality of dia. And we end with a walkthrough creating your own shape library.



Your donation will support ongoing availability and give you access to the PDF version of the book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2021 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0.