Merge several links to one link

Hi,
In case that i have several links connected between several ports of nodes,
for example, i have two nodes with 4 ports each. Those two nodes are connected to each other via the 4 ports constructing 4 links.
Can i merge the 4 links into one “thick” link, like gojs does between collapsed groups ?

Does this do what you want: https://gojs.net/extras/linkBundles.html ?

Although it’s possible that it doesn’t do what you want when there are multiple ports on a node – I haven’t tried it in such a circumstance.