print_dot: improve the rendering of Mealy machines

* spot/twaalgos/dot.cc (print_dot): Add some detection of Mealy
machines, and some code to render its I/O in a <table>.
* tests/python/synthesis.ipynb: Adjust expected output.
* tests/python/_mealy.ipynb: New file.
* tests/Makefile.am: Add python/_mealy.ipynb.
* NEWS: Mention the new feature.
This commit is contained in:
Alexandre Duret-Lutz 2021-10-29 16:45:35 +02:00
parent 09b361712d
commit 753d572e4d
5 changed files with 1154 additions and 348 deletions

3
NEWS
View file

@ -159,6 +159,9 @@ New in spot 2.9.8.dev (not yet released)
- print_dot() will display states from player 1 using a diamond
shape.
- print_dot() learned to display automata that correspond to Mealy
machines specifically.
- print_dot() has a new option "i" to define id=... attributes for
states (S followed by the state number), edges (E followed by the
edge number), and SCCs (SCC followed by SCC number). The option