1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
use ;
/// Controls when edge CSS animations are active in the rendered SVG.
///
/// This enum is passed to `TaffyToSvgElementsMapper::map` to choose whether
/// edge animations run unconditionally or only when a related process step
/// has focus.
///
/// # Variants
///
/// * `Always` – animation classes are attached directly (the current default
/// behaviour). The edges animate continuously.
/// * `OnProcessStepFocus` – animation classes are prefixed with
/// `group-has-[#{process_step_id}:focus-within]:` so that each edge only
/// animates when one of its associated process steps is focused.
///
/// # Examples
///
/// ```rust
/// use disposition_input_ir_model::EdgeAnimationActive;
///
/// let mode = EdgeAnimationActive::default();
/// assert!(matches!(mode, EdgeAnimationActive::Always));
/// ```