I have a requirement that in case of an example like
I want the two r1s to appear independently on their respective axis I.e
I want something like
l1 - r1
l3 - r1
l2 - r2
r1 - r3
i.e the 2 r1s should exist independently on the correct sides I.e the ‘from and’to’sides depending on their position in the array of data say having keys [‘from’ ,’to’, ‘weight’
I do not want
L1 - r1 - r3