* wrap/python/cgi/ltl2tgba.in: Use render_dot when
showing formula. * wrap/python/cgi/README: Mention unique_id.
This commit is contained in:
parent
7069d5406b
commit
faaa117e02
3 changed files with 10 additions and 7 deletions
|
|
@ -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>'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue