In the screenshot below, I wanted to relink the link from Alpha to Beta. When I dragged the fromHandle, I wanted to hide the original link from Alpha to Beta (including its selectionAdornment) but keep its fromHandle so that users know the link was from Alpha. I tried to assign a link object to relinkingTool.originalLink, but it did not work.
Any advice or example on how to implement it would be really appreciated!
You actually have a number of cases for which you need to decide the behavior. This will get you most of the functionality that I believe you are asking for: