Files
David Luzar dd2f8fc32b fix(editor): don't clip arrows to their frames (#12516)
* fix(editor): don't clip arrows to their frames

Arrows (and their labels) are no longer clipped to the frame they belong
to, so they can connect elements across and out of frames. They stay
members of their frame, so they're still moved, copied, deleted and
exported with it.

- Not clipped on the canvas or in SVG, and hit (click, hover, box and
  lasso selection) outside their frame too.
- Exporting a frame includes other frames' arrows reaching into it, as it
  does other non-children overlapping it.
- Moving a frame (dragging it, with the arrow keys or from the stats
  panel) keeps its arrows bound to the elements that don't move with it,
  instead of unbinding them. Their free points move with the frame, elbow
  arrows are routed once per move and keep their fixed segments.
- mutateElement no longer ignores an elbow arrow's x/y update to 0.

Fixes #6749
Fixes #7827

Claude Opus 5.5 (xhigh reasoning)

* docs(changelog): arrows aren't clipped to frames

Claude Opus 5.5 (xhigh reasoning)

* fix(editor): take arrows out of frames once neither of their ends is in them

An arrow belongs to its frame only while one of its ends is in it: bound to
an element in the frame, or, unbound, inside it. Checked when an arrow is
finished (drawn, or an end dragged), when a drag ends (the dragged arrows and
those bound to the dragged elements), and when a frame's children are
recomputed (resize, grouping). An arrow bound only to elements outside its
frame thus no longer gets cut, duplicated or exported with it.

Claude Opus 5.5 (xhigh reasoning)

* fix(editor): take arrows out of frames when nudged or moved from the stats panel

The arrow keys and the stats panel move arrows too, so check there as well
whether a moved arrow still has an end in its frame.

Claude Opus 5.5 (xhigh reasoning)
2026-11-03 09:20:50 +01:00
..