vis-network icon indicating copy to clipboard operation
vis-network copied to clipboard

Is there a way to display multiple edges connecting from and to the same node?

Open Instinct408 opened this issue 5 years ago • 2 comments

I have multiple edges that connect to the same from and to node. However only 1 edge gets displayed. Is there a way to display all of them?

Instinct408 avatar Dec 03 '20 01:12 Instinct408

Hi @Instinct408,

you can use node.selfReference.size and node.selfReference.angle to manually distinguish different edges from one another. Though there isn't any way to do it automatically at the moment.

Thomaash avatar Dec 13 '20 09:12 Thomaash

I think currently they do get added, but overlap perfectly. If there's a way to add some distance between them, this may fix the problem.

USMortality avatar Aug 19 '24 05:08 USMortality