dot: fix #393
* spot/twaalgos/dot.cc: Add support for option 'E', and default to rectangle nodes for large labels. * bin/common_aoutput.cc, NEWS: Document it. * tests/core/alternating.test, tests/core/dstar.test, tests/core/readsave.test, tests/core/sccdot.test, tests/core/tgbagraph.test, tests/python/_product_weak.ipynb, tests/python/alternation.ipynb, tests/python/atva16-fig2b.ipynb, tests/python/automata.ipynb, tests/python/decompose.ipynb, tests/python/gen.ipynb, tests/python/highlighting.ipynb, tests/python/ltsmin-dve.ipynb, tests/python/ltsmin-pml.ipynb, tests/python/parity.ipynb, tests/python/pdegen.py, tests/python/satmin.ipynb, tests/python/stutter-inv.ipynb: Adjust all test cases.
This commit is contained in:
parent
3ea63e9a75
commit
a7051b32c8
21 changed files with 12774 additions and 12603 deletions
|
|
@ -420,6 +420,7 @@ digraph "G(Fa & Fb)" {
|
|||
rankdir=LR
|
||||
label=<Inf($zero)&Inf($one)<br/>[gen. Büchi 2]>
|
||||
labelloc="t"
|
||||
node [shape="ellipse",width="0.5",height="0.5"]
|
||||
fontname="Lato"
|
||||
node [fontname="Lato"]
|
||||
edge [fontname="Lato"]
|
||||
|
|
@ -491,6 +492,7 @@ digraph "" {
|
|||
rankdir=LR
|
||||
label="(Fin(⓿)|Fin(❸)) | (Fin(❶) & Inf(❷))\n[gen. Rabin 3]"
|
||||
labelloc="t"
|
||||
node [shape="box",style="rounded",width="0.5"]
|
||||
I [label="", style=invis, width=0]
|
||||
I -> 0
|
||||
0 [label="0"]
|
||||
|
|
@ -545,7 +547,7 @@ digraph "" {
|
|||
rankdir=LR
|
||||
label="(Fin(⓿)|Fin(❸)) | (Fin(❶) & Inf(❷))\n[gen. Rabin 3]"
|
||||
labelloc="t"
|
||||
node [shape="circle"]
|
||||
node [shape="box",style="rounded",width="0.5"]
|
||||
I [label="", style=invis, width=0]
|
||||
0 [label="0"]
|
||||
1 [label="1\n⓿❸", tooltip="test me"]
|
||||
|
|
@ -568,7 +570,7 @@ diff out expected2
|
|||
cat >expected3 <<EOF
|
||||
digraph "" {
|
||||
rankdir=LR
|
||||
node [shape="circle"]
|
||||
node [shape="ellipse",width="0.5",height="0.5"]
|
||||
I [label="", style=invis, width=0]
|
||||
0 [label="6", peripheries=2]
|
||||
u0 [label="...", shape=none, width=0, height=0, tooltip="hidden successors"]
|
||||
|
|
@ -891,6 +893,7 @@ run 0 autfilt -dAk input6 >output6d
|
|||
cat >expect6d <<EOF
|
||||
digraph "" {
|
||||
rankdir=LR
|
||||
node [shape="box",style="rounded",width="0.5"]
|
||||
I [label="", style=invis, width=0]
|
||||
I -> 1
|
||||
0 [label="0\nb"]
|
||||
|
|
@ -914,6 +917,7 @@ digraph "" {
|
|||
rankdir=LR
|
||||
label=<Inf(<font color="#1F78B4">⓿</font>)<br/>[Büchi]>
|
||||
labelloc="t"
|
||||
node [shape="box",style="rounded",width="0.5"]
|
||||
I [label="", style=invis, width=0]
|
||||
I -> 1
|
||||
0 [label=<0<br/>b>]
|
||||
|
|
@ -1031,14 +1035,15 @@ autfilt -dA input9 > output9
|
|||
cat >expected9 <<EOF
|
||||
digraph "a U (b U c)" {
|
||||
rankdir=LR
|
||||
node [shape="box",style="rounded",width="0.5"]
|
||||
I [label="", style=invis, width=0]
|
||||
I -> 2
|
||||
0 [label="0", peripheries=2, style="bold", color="#1F78B4"]
|
||||
0 [label="0", peripheries=2, style="bold,rounded", color="#1F78B4"]
|
||||
0 -> 0 [label="1", style=bold, color="#1F78B4"]
|
||||
1 [label="1"]
|
||||
1 -> 0 [label="c", style=bold, color="#FF4DA0"]
|
||||
1 -> 1 [label="b & !c", style=bold, color="#FF7F00"]
|
||||
2 [label="new\nline", style="bold", color="#6A3D9A"]
|
||||
2 [label="new\nline", style="bold,rounded", color="#6A3D9A"]
|
||||
2 -> 0 [label="c", style=bold, color="#6A3D9A"]
|
||||
2 -> 1 [label="!a & b & !c"]
|
||||
2 -> 2 [label="a & !c"]
|
||||
|
|
@ -1046,12 +1051,13 @@ digraph "a U (b U c)" {
|
|||
EOF
|
||||
diff output9 expected9
|
||||
autfilt -dbar input9 > output9a
|
||||
style=', style="bold", color="#1F78B4"'
|
||||
style=', style="bold,rounded", color="#1F78B4"'
|
||||
cat >expected9a <<EOF
|
||||
digraph "a U (b U c)" {
|
||||
rankdir=LR
|
||||
label=<Inf(<font color="#1F78B4">⓿</font>)<br/>[Büchi]>
|
||||
labelloc="t"
|
||||
node [shape="box",style="rounded",width="0.5"]
|
||||
I [label="", style=invis, width=0]
|
||||
I -> 2
|
||||
0 [label=<0<br/><font color="#1F78B4">⓿</font>>$style]
|
||||
|
|
@ -1059,7 +1065,7 @@ digraph "a U (b U c)" {
|
|||
1 [label=<1>]
|
||||
1 -> 0 [label=<c>, style=bold, color="#FF4DA0"]
|
||||
1 -> 1 [label=<b & !c>, style=bold, color="#FF7F00"]
|
||||
2 [label=<new<br/>line>, style="bold", color="#6A3D9A"]
|
||||
2 [label=<new<br/>line>, style="bold,rounded", color="#6A3D9A"]
|
||||
2 -> 0 [label=<c>, style=bold, color="#6A3D9A"]
|
||||
2 -> 1 [label=<!a & b & !c>]
|
||||
2 -> 2 [label=<a & !c>]
|
||||
|
|
@ -1097,6 +1103,7 @@ ltl2tgba 'a U b' | autfilt --remove-ap=b=0 --name=%M --dot=dA >out
|
|||
cat >expected <<EOF
|
||||
digraph "a U b" {
|
||||
rankdir=LR
|
||||
node [shape="box",style="rounded",width="0.5"]
|
||||
I [label="", style=invis, width=0]
|
||||
I -> 0
|
||||
0 [label="0 (1)"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue