Open mkrasnitski opened 2 years ago
Yes I agree, context based deletion would be a good addition.
pw-viz uses a slightly modified fork of egui_nodes for drawing nodes, which doesn't provide such functionality yet, but I think this can be added by creating a new ClickInteractionType::LinkDeleted
and handling it inside click_interaction_update(...)
defined here
The detach keybind is defined here
Links can currently be selected but no action can be taken within that context. I use Alt as my mod key in i3wm, so can't currently use the UI to delete links between nodes, as alt-dragging controls the window position and size for me. I think letting links be deleted by selecting them and hitting Delete would work well. By the way, what controls these keybinds? Do they come from
egui_nodes
are from some other crate?