dot: improve output to work around GraphViz bug
The related GraphViz issue is https://gitlab.com/graphviz/graphviz/-/issues/2179 * spot/twaalgos/dot.cc: Avoid initial newline in title. * NEWS: Mention the bug. * tests/core/det.test, tests/core/dstar.test, tests/core/neverclaimread.test, tests/python/automata-io.ipynb: Adjust test cases.
This commit is contained in:
parent
78bcd9c453
commit
890423936f
6 changed files with 23 additions and 11 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright (C) 2013-2021 Laboratoire de Recherche et Développement de
|
||||
# Copyright (C) 2013-2022 Laboratoire de Recherche et Développement de
|
||||
# l'Epita (LRDE).
|
||||
#
|
||||
# This file is part of Spot, a model checking library.
|
||||
|
|
@ -113,7 +113,7 @@ run 0 ../ikwiad -x -DC 'GFa & XGFb' > out.tgba
|
|||
cat >ex.tgba <<EOF
|
||||
digraph "GFa & XGFb" {
|
||||
rankdir=LR
|
||||
label="\n[Büchi]"
|
||||
label="[Büchi]"
|
||||
labelloc="t"
|
||||
node [shape="circle"]
|
||||
I [label="", style=invis, width=0]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright (C) 2013-2016, 2018, 2020 Laboratoire de Recherche et
|
||||
# Développement de l'Epita (LRDE).
|
||||
# Copyright (C) 2013-2016, 2018, 2020, 2022 Laboratoire de Recherche
|
||||
# et Développement de l'Epita (LRDE).
|
||||
#
|
||||
# This file is part of Spot, a model checking library.
|
||||
#
|
||||
|
|
@ -85,7 +85,7 @@ run 0 ../ikwiad -d -XDB -R3 dra.dstar | tee stdout
|
|||
cat >expected <<EOF
|
||||
digraph "" {
|
||||
rankdir=LR
|
||||
label="\n[Büchi]"
|
||||
label="[Büchi]"
|
||||
labelloc="t"
|
||||
node [shape="circle"]
|
||||
I [label="", style=invis, width=0]
|
||||
|
|
@ -132,7 +132,7 @@ run 0 ../ikwiad -d -XDB dsa.dstar | tee stdout
|
|||
cat >expected <<EOF
|
||||
digraph "" {
|
||||
rankdir=LR
|
||||
label="\n[Büchi]"
|
||||
label="[Büchi]"
|
||||
labelloc="t"
|
||||
node [shape="circle"]
|
||||
I [label="", style=invis, width=0]
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright (C) 2010-2015, 2017-2018, 2020 Laboratoire
|
||||
# Copyright (C) 2010-2015, 2017-2018, 2020, 2022 Laboratoire
|
||||
# de Recherche et Développement de l'Epita (LRDE).
|
||||
#
|
||||
# This file is part of Spot, a model checking library.
|
||||
|
|
@ -134,7 +134,7 @@ run 0 ../ikwiad -XN input > stdout
|
|||
cat >expected <<EOF
|
||||
digraph "" {
|
||||
rankdir=LR
|
||||
label="\n[Büchi]"
|
||||
label="[Büchi]"
|
||||
labelloc="t"
|
||||
node [shape="circle"]
|
||||
I [label="", style=invis, width=0]
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@
|
|||
"\n",
|
||||
"digraph \"\" {\n",
|
||||
" rankdir=LR\n",
|
||||
" label=<<br/>[Büchi]>\n",
|
||||
" label=<[Büchi]>\n",
|
||||
" labelloc=\"t\"\n",
|
||||
" node [shape=\"circle\"]\n",
|
||||
" node [style=\"filled\", fillcolor=\"#ffffaa\"]\n",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue