Dia - a drawing program

available for Win32, too.

Dia is a gtk+ based diagram creation program released under the GPL. It can be used to draw many different kinds of diagrams. It currently has special objects to help draw entity relationship diagrams, UML diagrams, flowcharts, network diagrams, and simple circuits. It is also possible to add support for new shapes by writing simple XML files, using a subset of SVG to draw the shape. [from DIA Home Page] And it continues evolving.

DIA Screenshot Screenshot of DIA in action under Windows 98.

And a more recent Dia version running on a more recent Windows:

DIA Screenshot

Setup

In case the installation description below is out of your scope you may want to give the Dia Win32 Installer a try. But - if you do so - please keep in mind, that it's always a good idea to ask the one about problems, who was causing them. (That's most notably youself, because you aren't reading the documentation, do you ? :-)

Binaries

Not anymore here. There was some rumour on dia-list and some more in mail sent to me privately that my distribution of Dia binaries doesn't conform with the GPL. Instead of putting more of my spare time into teaching how to use a compiler and nmake under windowze, and get all the dependencies into a simple environment for dummies, which btw. is to some extent described in glib/README.win32, for now this is the removal of Win32 binary support, plain and simple.

I always wondered when ignorance became a point of view. [unknown]

There are Bugs

Instead of being the thousands to report a long time known misbehaviour you may be smart to first take a look at the bug tracking. There often are hints how to workaround as well.

Additional information may be available at the mailing list archives.

FAQ

Read more at the official FAQ page, especially the bug described below mostly for historical reasons and the probably upcoming windows printing related one.

The error i get is:
GLib-CRITICAL **: file gstrfuncs.c: line 160: assertion `string1 != NULL' failed.
** ERROR **: Could not create per-user Dia config directory aborting... abnormal program termination
Gdk-CRITICAL (recursed) **: file gdkdraw.c: line 122: assertion `drawable != NULL' failed.
aborting...

You should have
set HOME=c:\path_to_an_existing_dir
in your autoexec.bat (this bug is not anymore fatal with the binaries above)

Scripting Dia

There is now a Python plug-in which allows to write extensions for Dia in Python 2.2. But beware: there is absolutely no documentation available yet, beside some examples provided in the binary package.

Development

I'm using MSVC 6.0 command line compiler as development environment. All the win32 make and other files should be available in gnome cvs. If not it would be a bug of mine. But be warned: Dia on win32 is not yet ready to be build by everyone.

There is some spare explanation on how to compile it but the stuff may not be complete or up to date. BTW: the sources of released officially versions are here.

BTW: If you don't understand what I'm talking about, you should probably NOT even use Dia at the moment, because my spare time does not permit to explain how computers do work ...

Disclaimer

I'm doing all this in my spare time and just for fun; so please don't bother me with questions I wouldn't even answer at work. Use everything provided here at your own risk and expect the un-expected !

Thanks

This port wouldn't be possible (for me) without Tor Lillquist's Gtk+ and Gimp for Win32.

And obviously it wouldn't exist without the nice Unix version of Dia from Alexander Larsson.


[Gimp] [PDB] [Dia] [Gtk+] [HOME]