Fix typo 'compact' --> 'graph' for output
[erdiag.git] / scripts / getGraph_png.php
CommitLineData
40b4a9d2
BA
1<?php
2header('Content-Type: image/png');
3$dotInput = $_GET["dot"];
4passthru("printf '$dotInput' | dot -Tpng -Nfontname=Roboto -Nfontsize=14 -Efontname=Roboto -Efontsize=14");