You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: re-implement port-to-port connection dragging with try_borrow
Port connection interaction:
- mousedown: port_hit_test checks if click is on a port dot, starts
PortDragState with from_node/port info
- mousemove: updates cursor position, redraws with bezier preview line
- mouseup: port_hit_test on release position, validates output→input +
different nodes + compatible port_type, fires onConnect callback
- mouseleave: cancels port drag
All within existing try_borrow_mut guards. React wrapper passes
onConnect through to WASM set_on_connect.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>