chain-studio-flow-editor/lib
flemming-it fb8730903c feat(editor): highlight drop targets during connection drag
While the operator is dragging from an output port, every
input port now lights up with a tint so they can see at a
glance where the connection can land. The closest port
within the snap distance gets a larger halo + brighter
border so the operator knows which port will accept the
drop if they release now.

Visual states:
 - input port, no drag:        muted background
 - input port, drag in flight: primary @ 35% alpha
 - input port, closest target: primary fill + 2.5 px border
                                + soft halo glow

The closest-target computation runs once per port per
frame during a drag — O(n) over visible input ports.
Negligible at flow sizes operators care about; revisit if
flows exceed a few dozen steps.

Signed-off-by: flemming-it <sf@flemming.it>
2026-06-01 01:59:33 +02:00
..
src feat(editor): highlight drop targets during connection drag 2026-06-01 01:59:33 +02:00
fai_studio_flow_editor.dart feat(editor): three-tab WYSIWYG editor — graph / text / run 2026-06-01 00:48:35 +02:00