Finding Node/Connection based on location


#1

I had implemented the mouse hover behavior for the diagram, as like explained in Mouse Hover Event

Now i would like to determine the component (Node/Link) on which the mouse is hovered, so that i can add different functionalities to them. Am fetching the mouse location via “Diagram.LastMousePointInModel”, it seems to work fine in determining the location. Only thing is to find if any components(Node/Link) are present in the location, and if so i need to find their id.

Is there way to determine the components(Node/Link) based on the mouse location ??


#2

Call http://www.goxam.com/2.2/helpWPF/webframe.html#Northwoods.GoWPF~Northwoods.GoXam.DiagramPanel~FindPartAt.html