dot: --dot=1 to ignore names and force numbered states

Fixes #78.

* src/twaalgos/dotty.cc: Add option '1'.
* src/taalgos/dotty.cc: Ignore '1'.
* src/bin/dstar2tgba.cc, src/bin/common_aoutput.cc: Document it.
* src/tests/readsave.test: Test it.
This commit is contained in:
Alexandre Duret-Lutz 2015-04-28 16:45:57 +02:00
parent b1cdab6f95
commit 51309cf742
5 changed files with 36 additions and 6 deletions

View file

@ -51,9 +51,10 @@ static const argp_option options[] =
{
/**************************************************/
{ 0, 0, 0, 0, "Output format:", 3 },
{ "dot", OPT_DOT, "a|b|c|f(FONT)|h|n|N|r|R|s|t|v", OPTION_ARG_OPTIONAL,
{ "dot", OPT_DOT, "1|a|b|c|f(FONT)|h|n|N|o|r|R|s|t|v", OPTION_ARG_OPTIONAL,
"GraphViz's format (default). Add letters for "
"(a) acceptance display, (b) acceptance sets as bullets,"
"(1) force numbered states, "
"(a) acceptance display, (b) acceptance sets as bullets, "
"(c) circular nodes, (f(FONT)) use FONT, (h) horizontal layout, "
"(v) vertical layout, (n) with name, (N) without name, "
"(o) ordered transitions, "