import { Handle, type Position } from "@xyflow/react"; interface LabeledHandleProps { id: string; type: "source" | "target"; position: Position; title?: string; } export function LabeledHandle({ id, type, position, title, }: LabeledHandleProps) { return (