Link overlapping when data set is huge

Annotation%202019-07-11%20175531

Hi, I have multiple links coming and going out of each node, this is rendered dynamically based on linkDataArray (min size of the array is 100), most of the time when input data is huge links tangle with each other and make the diagram flow hard to understand.
I have a feature similar to path animation so I need clear path representation.

How can I avoid links to overlap each other and diagram to look cleaner?