projects
/
erdiag.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Complete fix + add option in index.html for output type
[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
?>