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

View file

@ -47,16 +47,24 @@ namespace spot
static constexpr const char palette[][8] =
{
"#5DA5DA", /* blue */
"#F17CB0", /* pink */
"#FAA43A", /* orange */
"#B276B2", /* purple */
"#60BD68", /* green */
"#F15854", /* red */
"#B2912F", /* brown */
"#4D4D4D", /* gray */
"#DECF3F", /* yellow */
"#1F78B4", /* blue */
"#FF4DA0", /* pink */
"#FF7F00", /* orange */
"#6A3D9A", /* purple */
"#33A02C", /* green */
"#E31A1C", /* red */
"#C4C400", /* yellowish */
"#505050", /* gray */
"#6BF6FF", /* light blue */
"#FF9AFF", /* light pink */
"#FF9C67", /* light orange */
"#B2A4FF", /* light purple */
"#A7ED79", /* light green */
"#FF6868", /* light red */
"#FFE040", /* light yellowish */
"#C0C090", /* light gray */
};
constexpr int palette_mod = sizeof(palette) / sizeof(*palette);
class dotty_output final