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
|
|
@ -573,27 +573,27 @@ digraph G {
|
|||
subgraph cluster_0 {
|
||||
color=green
|
||||
label=""
|
||||
4 [label="t"]
|
||||
4 [label=<t>]
|
||||
}
|
||||
subgraph cluster_1 {
|
||||
color=green
|
||||
label=""
|
||||
1 [label="G(a & b)"]
|
||||
1 [label=<G(a & b)>]
|
||||
}
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
label=""
|
||||
2 [label="F!a"]
|
||||
2 [label=<F!a>]
|
||||
}
|
||||
subgraph cluster_3 {
|
||||
color=red
|
||||
label=""
|
||||
3 [label="F!b"]
|
||||
3 [label=<F!b>]
|
||||
}
|
||||
subgraph cluster_4 {
|
||||
color=green
|
||||
label=""
|
||||
0 [label="c R (c | G(a & b) | (F!b & F!a))"]
|
||||
0 [label=<c R (c | G(a & b) | (F!b & F!a))>]
|
||||
-1 [label=<>,shape=point]
|
||||
-4 [label=<>,shape=point]
|
||||
-7 [label=<>,shape=point]
|
||||
|
|
@ -669,26 +669,26 @@ digraph G {
|
|||
subgraph cluster_0 {
|
||||
color=green
|
||||
label=""
|
||||
4 [label="t"]
|
||||
4 [label=<t>]
|
||||
}
|
||||
subgraph cluster_1 {
|
||||
color=red
|
||||
label=""
|
||||
2 [label="F!a"]
|
||||
2 [label=<F!a>]
|
||||
}
|
||||
subgraph cluster_2 {
|
||||
color=red
|
||||
label=""
|
||||
3 [label="F!b"]
|
||||
3 [label=<F!b>]
|
||||
}
|
||||
subgraph cluster_3 {
|
||||
color=green
|
||||
label=""
|
||||
0 [label="c R (c | G(a & b) | (F!b & F!a))"]
|
||||
0 [label=<c R (c | G(a & b) | (F!b & F!a))>]
|
||||
-1 [label=<>,shape=point]
|
||||
-4 [label=<>,shape=point]
|
||||
-7 [label=<>,shape=point]
|
||||
1 [label="G(a & b)"]
|
||||
1 [label=<G(a & b)>]
|
||||
-10 [label=<>,shape=point]
|
||||
}
|
||||
0 -> 4 [label=<c>]
|
||||
|
|
@ -852,22 +852,22 @@ digraph G {
|
|||
subgraph cluster_0 {
|
||||
color=green
|
||||
label=""
|
||||
3 [label="t"]
|
||||
3 [label=<t>]
|
||||
}
|
||||
subgraph cluster_1 {
|
||||
color=green
|
||||
label=""
|
||||
1 [label="Fa"]
|
||||
1 [label=<Fa>]
|
||||
}
|
||||
subgraph cluster_2 {
|
||||
color=green
|
||||
label=""
|
||||
2 [label="G!a"]
|
||||
2 [label=<G!a>]
|
||||
}
|
||||
subgraph cluster_3 {
|
||||
color=green
|
||||
label=""
|
||||
0 [label="G((b & Fa) | (!b & G!a))"]
|
||||
0 [label=<G((b & Fa) | (!b & G!a))>]
|
||||
-1 [label=<>,shape=point]
|
||||
-4 [label=<>,shape=point]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue