dot: add x option for dot2tex
* spot/twa/acc.cc, spot/twa/acc.hh: Add a LaTeX output for acceptance conditions. * spot/twaalgos/dot.cc: Implement the 'x' option and refactor the code a bit to limit duplication. * tests/core/dot2tex.test: New test case (requires dot2tex). * tests/Makefile.am: Add dot2tex.test. * tests/core/alternating.test, tests/core/readsave.test, tests/python/automata-io.ipynb: Adjust expected output. * NEWS, doc/org/oaut.org: Mention the new option.
This commit is contained in:
parent
b242122ce8
commit
fbb9e4374e
10 changed files with 365 additions and 182 deletions
5
NEWS
5
NEWS
|
|
@ -75,6 +75,11 @@ New in spot 2.3.5.dev (not yet released)
|
|||
We plan to enable 'a' by default in a future release, so a new
|
||||
option 'A' has been added to hide the acceptance condition.
|
||||
|
||||
- The print_dot() function has a new experimental option 'x' to
|
||||
output labels are LaTeX formulas. This is meant to be used in
|
||||
conjunction with the dot2tex tool. See
|
||||
https://spot.lrde.epita.fr/oaut.html#dot2tex
|
||||
|
||||
- A new named property for automata called "original-states" can be
|
||||
used to record the origin of a state before transformation. It is
|
||||
currently defined by the degeneralization algorithms, and by
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue