dot: add option C(COLOR)
This fixes the output gliches visible in the previous patches, where highlighting a state would remove its fill color. * spot/twaalgos/dot.cc, spot/taalgos/dot.cc: Implement option C(COLOR). * bin/common_aoutput.cc, doc/org/oaut.org: Document it. * doc/org/.dir-locals.el.in, doc/org/init.el.in, python/spot/__init__.py: Use it. * tests/python/automata-io.ipynb, tests/python/automata.ipynb, tests/python/highlighting.ipynb: Test it. * tests/core/readsave.test: Adjust. * NEWS: Mention recent changes.
This commit is contained in:
parent
23c2cbf46a
commit
77b0b5b3fe
12 changed files with 163 additions and 107 deletions
|
|
@ -993,12 +993,12 @@ digraph G {
|
|||
node [shape="circle"]
|
||||
I [label="", style=invis, width=0]
|
||||
I -> 2
|
||||
0 [label="0", peripheries=2, style=bold, color="#5DA5DA"]
|
||||
0 [label="0", peripheries=2, style="bold", color="#5DA5DA"]
|
||||
0 -> 0 [label="1", style=bold, color="#5DA5DA"]
|
||||
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 [label="2", style="bold", color="#B276B2"]
|
||||
2 -> 0 [label="c", style=bold, color="#B276B2"]
|
||||
2 -> 1 [label="!a & b & !c"]
|
||||
2 -> 2 [label="a & !c"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue