dot: allow extra configuration via environment

* src/tgbaalgos/dotty.cc, src/taalgos/dotty.cc: Honnor the SPOT_DOTEXTRA
environement variable.
* src/tgbatest/readsave.test, wrap/python/tests/automata.ipynb: Test it.
* NEWS, src/bin/man/spot-x.x: Document it.
This commit is contained in:
Alexandre Duret-Lutz 2015-03-16 17:19:37 +01:00
parent b6762b7dc9
commit 7caf2b83d6
6 changed files with 77 additions and 45 deletions

View file

@ -306,11 +306,14 @@ State: 3 "s3"
[0] 1
--END--
EOF
$autfilt -H input | $autfilt --dot=vcsn >output
$autfilt -H input |
SPOT_DOTEXTRA='/* hello world */' $autfilt --dot=vcsn >output
cat >expected <<EOF
digraph G {
node [shape="circle"]
/* hello world */
I [label="", style=invis, height=0]
I -> 3
subgraph cluster_0 {