egui_cable 0.9.0

A generic and extensible data-oriented widget for connecting ports by cables
Documentation
1
2
3
4
5
6
7
8
use crate::prelude::*;

#[derive(Clone, Debug, PartialEq, Eq)]
pub enum Event {
    Connected { port_id: PortId },
    Disconnected,
    Hovered { port_id: PortId },
}