How to find link for key

i m using find part for key function it returns a node if “key” is also used for both nodes and link how to get just the link with a certain key?

I suppose we should implement a Diagram.findLinkForKey method…

But you can call followed by

This is implemented in v2.1.