Version 19 (modified by verbosus, 9 years ago) (diff)

Refactored page, added link to code in subversion repository, added note about outdated examples

Converting Django models into Graphviz DOT files

Inspired by this nice hack by Matt Biddulph, this is a Python script that generates a Graphviz DOT file for quick visualizations of Django model definitions.

Source code

View online or download from Subversion repository (you could also set it as a svn:external on your repository to keep up to date with the latest revisons.)

Examples

Nota bene: this samples are generated from an old version of the script, 0.4, which you can download from here. The script is currently undergoing some refactoring.

Camera website (yet unpublished)

camera example

MC Minerali Ceramici

mincer example

Other examples

Other References

You might also be interested in this Django app by Andrew Barilla from which I borrowed some ideas, that displays the graphviz results directly from the web.

Feedback

Please direct all feedback to Antonio Cavedoni.

Attachments (12)

Download all attachments as: .zip

Back to Top