pub(super) fn moved_set_and_delta(
ids: &[ShapeId],
delta: Vec2,
) -> (HashSet<BlockId>, HashSet<PinId>, GridVec)Expand description
Shared derivation used by both the group-drag COMMIT (move_shapes) and its
live PREVIEW (Drawing::preview_drag): the moved block/port id
sets plus the grid-cell delta. delta is the raw (unsnapped) move vector;
both paths pass the identical delta, so the returned grid_delta — and
therefore the waypoint offset — is byte-identical between preview and commit
(no release snap).