How do I find out the last node in the canvas

I have e.g. 4 Nodes in the canvas, I want to find the last node (horizontally and vertically) in the canvas, How do I do that?

Look at their locations and see which one has the largest Point.x or Point.y value.