FindNearbyNodes (locate nodes based on mouse position)

Top  Previous  Next

 

FindNearbyNodes( Xpos, Ypos)

FindNearbyNodes

Finds the closest node based on X and Y Mouse coordinates

Xpos

The current X mouse coordinate position

Ypos

The current Y mouse coordinate position

The FindNearbyNodes method returns the closest node id based on the x and y mouse coordinates.

Return Data Type:     LONG

Implementation:

The FindNearbyNodes method is called from the Interactivity method. It is also called in the Drilldown method to accurately return the proper node id when the mouse is clicked.

See Also:     Drilldown , Interactivity