projects
/
erdiag.git
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
add TODOs
[erdiag.git]
/
scripts
/
getGraphSvg.php
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
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
?>