startDragging method

void startDragging(
  1. List<String> objectIds
)

Start drag optimization mode for specified objects

Implementation

void startDragging(List<String> objectIds) {
  if (!_isDragging && objectIds.isNotEmpty) {
    _isDragging = true;
    _draggingObjectIds = objectIds.toSet();

    // Initialize dragging bounds tracking
    _draggingObjectBounds.clear();
    for (final objectId in objectIds) {
      final object = _objects[objectId];
      if (object != null) {
        _draggingObjectBounds[objectId] = object.getBounds();
      }
    }

    _computeDraggingBounds();
  }
}