Commit faaa117e authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* wrap/python/cgi/ltl2tgba.in: Use render_dot when

showing formula.
* wrap/python/cgi/README: Mention unique_id.
parent 7069d540
2004-02-08 Alexandre Duret-Lutz <adl@gnu.org>
2004-02-09 Alexandre Duret-Lutz <adl@src.lip6.fr>
* wrap/python/cgi/ltl2tgba.in: Use render_dot when
showing formula.
* wrap/python/cgi/README: Mention unique_id.
2004-02-08 Alexandre Duret-Lutz <adl@src.lip6.fr>
This should help getting accurate statistics (on both the
formula automaton and the synchronized product) from LBTT.
......
......@@ -41,3 +41,5 @@ You have to install the script yourself if you want to test it.
each time it runs.
4) `dot', from the GraphViz package, should be in the PATH.
5) Apache should have its unique_id module loaded.
......@@ -329,12 +329,7 @@ if show_formula_gif:
outfile = spot.ofstream(imgprefix + '-f.dot')
spot.dotty(outfile, f)
del outfile
os.spawnlp(os.P_WAIT, 'dot', 'dot', '-Tgif', '-Gsize=14,14', '-o',
imgprefix + '-f.gif', imgprefix + '-f.dot')
os.spawnlp(os.P_WAIT, 'convert', 'convert',
imgprefix + '-f.gif', imgprefix + '-f.png')
print '<img src="' + imgprefix + '-f.png">'
render_dot(imgprefix + '-f')
print '<H2>Automaton</H2>'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment