GNU/Linux Desktop Survival Guide
by Graham Williams
Walkthrough: Creating Your Own Shapes
You can create your own shapes and include them in your own sheet simply be defining the shapes in XML (using a subset of SVG, the scalable vector graphics format based on XML). Installing a new shape is simply a matter of installing it into /.dia/shapes.