Hello all,
Thanks for Dia! Love using it.
I've created a plugin to export DB diagrams to Postgres SQL
create script. It is tested only with the specific diagram I needed it for (for
a project at work). The censored diagram screenshot attached. It use the Reference shape handle connections for table one-many and one-one relations. It use the Attribute compound for multi-column keys. It contains some class for abstraction of database diagrams, and might be used for, or as an example for, writing other DB exporters and plugins.
Can be found at https://github.com/amotzg/dia-postgresql
Regards, Amotz. |
Attachment:
sample_diagram.png
Description: PNG image