dot: use circles if state names are all short
* spot/twaalgos/dot.cc: Check for state names sizes. * tests/core/readsave.test: Test the change. * tests/core/tgbagraph.test: Adjust.
This commit is contained in:
parent
b11c07b351
commit
eb0a0b6b34
3 changed files with 34 additions and 2 deletions
|
|
@ -223,6 +223,7 @@ digraph G {
|
|||
}
|
||||
digraph G {
|
||||
rankdir=LR
|
||||
node [shape="circle"]
|
||||
I [label="", style=invis, width=0]
|
||||
I -> 2
|
||||
0 [label="s1"]
|
||||
|
|
@ -231,6 +232,7 @@ digraph G {
|
|||
}
|
||||
digraph G {
|
||||
rankdir=LR
|
||||
node [shape="circle"]
|
||||
I [label="", style=invis, width=0]
|
||||
I -> 0
|
||||
0 [label="s3"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue