Code

Changes between Version 5 and Version 6 of DjangoGraphviz


Ignore:
Timestamp:
08/06/06 04:05:39 (8 years ago)
Author:
Simon Willison
Comment:

Added PNGs of the example PDFs.

Legend:

Unmodified
Added
Removed
Modified
  • DjangoGraphviz

    v5 v6  
    33Inspired by [http://www.hackdiary.com/archives/000093.html this nice hack by Matt Biddulph] I set out to create a similar thing for Django models. Below is an initial implementation, and here are some results generated with the OS X version of Graphviz: 
    44 
    5  * [http://cavedoni.com/2006/08/camera-001.dot generated dot file]: resulting image in [http://cavedoni.com/2006/08/camera-001.pdf PDF] 
    6  * [http://cavedoni.com/2006/08/mincer-001.dot generated dot file]: resulting image in [http://cavedoni.com/2006/08/mincer-001.pdf PDF]  
     5 * [http://cavedoni.com/2006/08/camera-001.dot generated dot file]: resulting image in [http://cavedoni.com/2006/08/camera-001.pdf PDF], [http://code.djangoproject.com/attachment/wiki/DjangoGraphviz/camera-001.png PNG] 
     6 * [http://cavedoni.com/2006/08/mincer-001.dot generated dot file]: resulting image in [http://cavedoni.com/2006/08/mincer-001.pdf PDF], [http://code.djangoproject.com/attachment/wiki/DjangoGraphviz/mincer-001.png PNG] 
    77 
    88You might also be interested in [http://www.exit66.com/diagram.zip this Django app by Andrew Barilla ] from which I borrowed some ideas, that displays the graphviz results directly from the web.