659b44d73814776117eeb3cf16c5021bd9229534
[erdiag.git] / scripts / getGraphSvg.php
1 <?php
2
3 $dotInput = $_GET["dot"];
4
5 // Call dot program on $dotInput, output as svg [TODO: offer more options]
6 passthru("echo '" . $dotInput . "' | dot -Tsvg -Nfontname=Roboto -Nfontsize=14 -Efontname=Roboto -Efontsize=14");
7
8 ?>