dot: extend the palette from 9 to 16 colors

Let's close #212 even if this does not cover the 32 sets.

* spot/twaalgos/dot.cc: Change the palette.
* doc/org/autfilt.org, NEWS: Adjust documentation.
* tests/core/alternating.test, tests/core/readsave.test,
tests/core/tgbagraph.test, tests/python/_altscc.ipynb,
tests/python/alternation.ipynb, tests/python/atva16-fig2a.ipynb,
tests/python/automata-io.ipynb, tests/python/automata.ipynb,
tests/python/decompose.ipynb, tests/python/gen.ipynb,
tests/python/highlighting.ipynb, tests/python/ltsmin-dve.ipynb,
tests/python/piperead.ipynb, tests/python/product.ipynb,
tests/python/randaut.ipynb, tests/python/word.ipynb: Adjust
test cases.
This commit is contained in:
Alexandre Duret-Lutz 2017-08-03 14:32:11 +02:00
parent 85c23202b7
commit e041db6101
19 changed files with 1953 additions and 1011 deletions

File diff suppressed because it is too large Load diff

View file

@ -394,8 +394,8 @@ diff output expected
SPOT_DOTDEFAULT=bra ltl2tgba --dot='e.f(Lato)' 'GFa & GFb' >output
cat output
zero='<font color="#5DA5DA">⓿</font>'
one='<font color="#F17CB0">❶</font>'
zero='<font color="#1F78B4">⓿</font>'
one='<font color="#FF4DA0">❶</font>'
cat >expected <<EOF
digraph G {
rankdir=LR
@ -892,7 +892,7 @@ run 0 autfilt -dbark input6 >output6d2
cat >expect6d2 <<EOF
digraph G {
rankdir=LR
label=<Inf(<font color="#5DA5DA">⓿</font>)>
label=<Inf(<font color="#1F78B4">⓿</font>)>
labelloc="t"
I [label="", style=invis, width=0]
I -> 1
@ -903,7 +903,7 @@ digraph G {
1 [label=<1<br/>a>]
1 -> 0 [label=<>]
1 -> 1 [label=<>]
2 [label=<2<br/><font color="#5DA5DA">⓿</font><br/>a>]
2 [label=<2<br/><font color="#1F78B4">⓿</font><br/>a>]
2 -> 2 [label=<>]
2 -> 0 [label=<>]
2 -> 1 [label=<>]
@ -1013,13 +1013,13 @@ digraph G {
node [shape="circle"]
I [label="", style=invis, width=0]
I -> 2
0 [label="0", peripheries=2, style="bold", color="#5DA5DA"]
0 -> 0 [label="1", style=bold, color="#5DA5DA"]
0 [label="0", peripheries=2, style="bold", color="#1F78B4"]
0 -> 0 [label="1", style=bold, color="#1F78B4"]
1 [label="1"]
1 -> 0 [label="c", style=bold, color="#F17CB0"]
1 -> 1 [label="b & !c", style=bold, color="#FAA43A"]
2 [label="2", style="bold", color="#B276B2"]
2 -> 0 [label="c", style=bold, color="#B276B2"]
1 -> 0 [label="c", style=bold, color="#FF4DA0"]
1 -> 1 [label="b & !c", style=bold, color="#FF7F00"]
2 [label="2", style="bold", color="#6A3D9A"]
2 -> 0 [label="c", style=bold, color="#6A3D9A"]
2 -> 1 [label="!a & b & !c"]
2 -> 2 [label="a & !c"]
}

View file

@ -226,16 +226,16 @@ digraph G {
node [shape="circle"]
I [label="", style=invis, width=0]
I -> 2
0 [label="s1", style="bold", color="#F15854"]
0 [label="s1", style="bold", color="#E31A1C"]
1 [label="s2"]
2 [label="s3", style="bold", color="#4D4D4D"]
2 [label="s3", style="bold", color="#505050"]
}
digraph G {
rankdir=LR
node [shape="circle"]
I [label="", style=invis, width=0]
I -> 0
0 [label="s3", style="bold", color="#4D4D4D"]
0 [label="s3", style="bold", color="#505050"]
}
HOA: v1.1
States: 3