selectionRect property

GraphRect? get selectionRect

Gets the current selection rectangle in graph coordinates (package-private).

Returns null if no selection rectangle is active. The rectangle is in graph coordinates for hit testing against node positions.

Implementation

GraphRect? get selectionRect => interaction.currentSelectionRect;