@octaviaflow/core 3.0.18-beta.14 → 3.0.18-beta.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -29903,6 +29903,12 @@ function FlowEdgeImpl({
29903
29903
  e.stopPropagation();
29904
29904
  onSelect?.(edge.id);
29905
29905
  },
29906
+ onDoubleClick: (e) => {
29907
+ if (!onLabelChange) return;
29908
+ e.stopPropagation();
29909
+ setDraftLabel(edge.label ?? "");
29910
+ setEditing(true);
29911
+ },
29906
29912
  children: [
29907
29913
  /* @__PURE__ */ (0, import_jsx_runtime128.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
29908
29914
  "marker",