Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
faaa117e
Commit
faaa117e
authored
Feb 09, 2004
by
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
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
faaa117e
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.
...
...
wrap/python/cgi/README
View file @
faaa117e
...
...
@@ -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.
wrap/python/cgi/ltl2tgba.in
View file @
faaa117e
...
...
@@ -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>'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment