How to change the border color of nodes in a link relationship as if they were selected when a node is clicked. Should not actually be clicked.
Could you please share with us some examples of what you want, including both cases when you do and when you do not want that behavior?
Would using the Node.linkConnected and Node.linkDisconnected event handlers help?
I don’t want it to work as soon as I link it, I want it to work when I have two nodes that are already linked, and when I select one node, the border color of the other node in the link relationship changes. I don’t want both nodes to be selected, just the one I clicked on, and the other node should only change its border color. When I unclick it, it should go back to its original color.