Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
355
FindDiagramItemsInRect not working as expected
posted

I'm trying to use the FindDiagramItemsInRect method to identify nodes that intersect connections to avoid a node from appearing on top (or overlaying) a connection while arranging the items in my custom layout.  I've tried adjusting the rect that I pass to that function, but, it never returns any results.

Here's how I am calling it: diagram.FindDiagramItemsInRect(Of DiagramConnection)(New Windows.Rect(xpos,ypos,width,height)

Does it only return items that are fully enclosed by the rect?  The documentation indicates that it includes intersections, but, that doesn't seem to be the case for me.

Any ideas?

Parents Reply Children