On Mon, 12 Mar 2001, Derek A. Neighbors wrote:
> > so has anybody got some working code for generating xml from
> > odbc/dia/mysql and what language is it in? Also has anybody got a nice
> > simple algorithm for laying out a diagram for dummys - all this talk of
> > orthoganal and edges and nodes in the scientific papers on the subject
> > makes my brain hurt ;)
>
> You guys might want to look into gnome-db (http://www.gnome-db.org). It
> is quickly becoming the preferred data abstaction layer for GNOME. I
> believe its maintainer now works for Ximian. It is written in C and
> works quite nicely. Just an idea.
Ah - but does it output as dia xml, hmm.. should submit a feature request
(or better still a patch). my C isn't as good as my perl (ie I couldn't
earn a living from it).
gnome-db saving as dia xml would be very nice, however I'd probably still
like to cron some auto-document script and vcs its results... but then I
like that kind of thing.
I'm having a couple of difficulties with the positioning of elements
(creating them using TemplateToolkit & perl is quite easy), positioning
can be a bit tricky tho'. fortunately dia cleverly corrects mistakes in
the xml when you manipulate an object.
A.