2b8b11d7b71b3d7229f7c9c72871d4ae540952ba
[erdiag.git] / scripts / getGraph_png.php
1 <?php
2 header('Content-Type: image/png');
3 $dotInput = $_GET["dot"];
4 passthru("printf '$dotInput' | dot -Tpng -Nfontname=Roboto -Nfontsize=14 -Efontname=Roboto -Efontsize=14");