Hi Mark,

the easiest way to add new symbols to dia are the so called custom shapes:
XML files describing the new symbol with a subset of the SVG language.
They are somehow limited, though (I understand that they could only have
one textbox, for example).
Have a look at the *.shape files inyour dia source code/installation

If you're not afraid of patches, you can grab the a patch from my website
that adds a new export filter to dia: You can save any diagram as a dia
shape. Note that you'll have to compile dia with libart support, as png
is used for the previews.
http://www.fbbwu.fh-lueneburg.de/~macke/dia/shape_export.diff

With a vanilla dia installation you'll also have to create a new sheet for
your symbols in order to see them in the toolbox. The patched version will
display all the symbols residing in ~/.dia/shapes, even if they don't appear
in a sheet. That makes testing much easier.
There are still ways to improve the plug-in - I usually adjust name and
linewidth of the shapes, for example. But you should have a good start along
with a reasonable preview.
I hope that this get's included with dia soon.

Steffen

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

Reply via email to