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