I've been looking for an excuse to play with Inkscape for a while now and Sam suggested I use it to do a circuit diagram we needed to draw.
I found a whole collection of SVG electrical symbols from Wikimedia which made my life a lot easier.
My mind wanders….
Imagine if you added a kind of electronic logic meta data to the XML element which surrounded a group of shapes which represented a component. With some clever scripting you could actually simulate the circuit once you'd drawn it…