setSelectionArea method
This method is used to set the selection area for selecting nodes.
See selectNodesByArea for more information.
Emits a SelectionAreaEvent event.
Implementation
void setSelectionArea(Rect area) {
selectionArea = area;
eventBus.emit(AreaSelectionEvent(id: const Uuid().v4(), area));
}