isPointVisible method
Checks if a point is visible in the current viewport.
Parameters:
point: Point in graph coordinates to checkscreenSize: The size of the viewport in screen pixels
Returns: true if the point is within the visible area
Implementation
bool isPointVisible(GraphPosition point, Size screenSize) {
final visibleArea = getVisibleArea(screenSize);
return visibleArea.contains(point);
}