I have nodes that needs to be linked once. But the same link is being created over and over. As you can see test1 is linked test2 twice, instead of just once. And when test1 is linked to the test2, there is no need to link test2 to test1 again.
No, sorry – there is no way for GoJS to guess what you want and what you don’t want. Many apps will want to have and show those duplicate and reverse links.