Skip to main content

jellyflow_runtime/runtime/selection/
mod.rs

1//! Renderer-neutral selection helpers.
2//!
3//! These helpers turn canvas-space marquee rectangles into ordered selection state without
4//! depending on a renderer, DOM measurement, or platform input events.
5
6mod activation;
7mod additive;
8mod compute;
9mod edges;
10mod node_drag_start;
11mod pointer_claim;
12mod store;
13mod types;
14
15pub use activation::{SelectionDragActivationInput, selection_drag_threshold_met};
16pub use compute::{compute_selection_box, resolve_selection_box};
17pub use node_drag_start::{
18    NodeDragStartSelectionAction, NodeDragStartSelectionInput, NodePointerDownDecision,
19    NodePointerDownInput, resolve_node_drag_start_selection, resolve_node_pointer_down,
20};
21pub use pointer_claim::{
22    SelectionPointerClaim, SelectionPointerClaimInput, resolve_selection_pointer_claim,
23};
24pub use types::{
25    SelectionBoxDecision, SelectionBoxInput, SelectionBoxOptions, SelectionBoxResult,
26    SelectionModifier,
27};