Parallel edges are merged into one edge when using `splines` attribute set to `polyline` or to `true` values in twopi layout, `overlap=false` doesn't work.
Steps to reproduce
Create input.gv
file with splines=true
or splines=polyline
:
digraph {
layout=twopi
overlap=false
splines=true
ranksep=4
root="3, 446"
"3, 446" -> "3, 439"
"3, 446" -> "3, 502"
"3, 446" -> "3, 2366"
"3, 446" -> "3, 382"
"3, 446" -> "3, 3556"
"3, 446" -> "4, 1778"
"3, 446" -> "3, 1214"
"3, 446" -> "3, 445"
"3, 446" -> "4, 758"
"3, 439" -> "2, 253"
"3, 439" -> "3, 446"
"3, 439" -> "3, 3482"
"3, 439" -> "4, 1763"
"3, 439" -> "3, 2359"
"3, 439" -> "3, 319"
"2, 253" -> "3, 439"
"2, 127" -> "3, 502"
"3, 502" -> "2, 127"
"3, 502" -> "3, 446"
"3, 502" -> "3, 4004"
"3, 502" -> "3, 508"
"3, 502" -> "4, 998"
"3, 502" -> "3, 3986"
"3, 502" -> "4, 2018"
"3, 502" -> "3, 1270"
"3, 4004" -> "3, 502"
"3, 4004" -> "3, 3556"
"4, 1270" -> "4, 758"
"4, 758" -> "3, 446"
"4, 758" -> "4, 998"
"4, 758" -> "4, 502"
"4, 758" -> "4, 638"
"4, 758" -> "4, 743"
"4, 758" -> "4, 1270"
"3, 508" -> "3, 502"
"4, 2300" -> "3, 382"
"3, 382" -> "4, 2300"
"3, 382" -> "3, 254"
"3, 382" -> "3, 446"
"3, 1270" -> "3, 1214"
"3, 1270" -> "3, 502"
"3, 1214" -> "3, 1270"
"3, 1214" -> "3, 446"
"3, 1214" -> "3, 1207"
"3, 1214" -> "3, 254"
"3, 3482" -> "3, 439"
"3, 3482" -> "3, 3538"
"2, 254" -> "3, 3556"
"3, 3556" -> "3, 4004"
"3, 3556" -> "2, 254"
"3, 3556" -> "4, 1660"
"3, 3556" -> "3, 446"
"4, 1763" -> "3, 439"
"4, 1763" -> "4, 1778"
"2, 191" -> "3, 2366"
"3, 2366" -> "4, 3190"
"3, 2366" -> "3, 2359"
"3, 2366" -> "3, 446"
"3, 2366" -> "2, 191"
"4, 3190" -> "3, 2366"
"4, 998" -> "4, 758"
"4, 998" -> "3, 502"
"3, 3986" -> "3, 502"
"3, 3986" -> "3, 3538"
"3, 2359" -> "3, 2366"
"3, 2359" -> "3, 439"
"4, 1660" -> "3, 3556"
"4, 3698" -> "4, 1778"
"4, 1778" -> "4, 2018"
"4, 1778" -> "4, 1780"
"4, 1778" -> "4, 1763"
"4, 1778" -> "3, 446"
"4, 1778" -> "4, 3698"
"4, 2018" -> "4, 1778"
"3, 254" -> "3, 382"
"3, 254" -> "3, 1214"
"4, 1780" -> "4, 1778"
"4, 502" -> "3, 382"
"4, 502" -> "4, 758"
"4, 638" -> "4, 758"
"3, 319" -> "3, 439"
"4, 743" -> "4, 758"
"4, 743" -> "3, 439"
"3, 1207" -> "3, 439"
"4, 3320" -> "3, 445"
"3, 445" -> "3, 446"
"3, 445" -> "4, 3320"
"3, 445" -> "3, 443"
"3, 443" -> "3, 3538"
"3, 3538" -> "3, 3986"
"3, 3538" -> "3, 3482"
"3, 3538" -> "3, 446"
"3, 3538" -> "3, 443"
"4, 1777" -> "4, 1778"
}
Run twopi -Tsvg input.gv -o output.svg
Expected Behaviour
Parallel edges are not merged with overlap=false
.
Actual Behaviour
With splines=polyline
or splines=true
(parallel edges are merged):
OS Version
Windows 10
Graphviz Version
dot - graphviz version 6.0.1 (20220911.1526)