dot: add option 'g'
* spot/twaalgos/dot.cc: Implement support for hidding labels. * tests/core/readsave.test: Test it. * bin/common_aoutput.cc: Add --help text. * NEWS: Mention it.
This commit is contained in:
parent
8aafe74acf
commit
628364909d
4 changed files with 33 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright (C) 2009, 2010, 2012, 2014-2018 Laboratoire de
|
||||
# Copyright (C) 2009, 2010, 2012, 2014-2019 Laboratoire de
|
||||
# Recherche et Développement de l'Epita (LRDE).
|
||||
# Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||
# département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||
|
|
@ -390,6 +390,25 @@ digraph "G(Fa & Fb)" {
|
|||
EOF
|
||||
diff output expected
|
||||
|
||||
ltl2tgba -dbang 'GFa & GFb' >output
|
||||
cat output
|
||||
cat >expected <<EOF
|
||||
digraph "G(Fa & Fb)" {
|
||||
rankdir=LR
|
||||
label="G(Fa & Fb)\nInf(⓿)&Inf(❶)\n[gen. Büchi 2]"
|
||||
labelloc="t"
|
||||
node [shape="circle"]
|
||||
I [label="", style=invis, width=0]
|
||||
I -> 0
|
||||
0 [label="0"]
|
||||
0 -> 0 [label=""]
|
||||
0 -> 0 [label="❶"]
|
||||
0 -> 0 [label="⓿"]
|
||||
0 -> 0 [label="⓿❶"]
|
||||
}
|
||||
EOF
|
||||
diff output expected
|
||||
|
||||
|
||||
SPOT_DOTDEFAULT=bra ltl2tgba --dot='Ae.f(Lato)' 'GFa & GFb' >output
|
||||
cat output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue