0725f159c09e7da70bc092f23994cc83944871bc
[erdiag.git] / scripts / getGraph_svg.php
1 <?php
2 header('Content-Type: image/svg+xml');
3 $dotInput = $_GET["dot"];
4 passthru("printf '$dotInput' | dot -Tsvg -Nfontname=Roboto -Nfontsize=14 -Efontname=Roboto -Efontsize=14");