Programmatically draw graphs using Django and Graphviz