hitTestPort method
Hit test for a port at the given position.
Returns the hit test result containing nodeId, portId, and isOutput if a port is found at the position, otherwise returns null.
This is useful for finding target ports during connection drag operations.
Implementation
HitTestResult? hitTestPort(Offset point) => _hitTestPorts(point);