pub fn Handle(_: HandleProps) -> ElementExpand description
A connection point on a node. Place handles anywhere inside a custom node view; edges anchor to them and new connections can be dragged out of them.
ยงProps
For details, see the props struct definition.
kind:HandleKindWhether edges start (
Source) or end (Target) here.position:ReadSignal<Side>Which side of the node the handle sits on.
id:Option<String>Optional handle id, referenced by
Edge::source_handle/Edge::target_handle. Needed when a node has multiple handles of the same kind.offset:f64Fraction (0..=1) along the side, defaults to centered.
class:Option<String>Extra classes (e.g. Tailwind utilities) for the handle dot.