+ {/* Drag handle dots */}
+ {showHandles &&
+ handlePositions.map((pos, i) => (
+
handlePointerDown(e, pos.anchor)}
+ style={{
+ position: "absolute",
+ left: `${pos.left}px`,
+ top: `${pos.top}px`,
+ transform: "translate(-50%, -50%)",
+ width: `${HANDLE_HIT_AREA * 2}px`,
+ height: `${HANDLE_HIT_AREA * 2}px`,
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ cursor: "crosshair",
+ pointerEvents: "all",
+ zIndex: 20,
+ }}
+ >
+
+
+ ))}
+
+ {/* Relation type dropdown */}
+ {pendingArrowId && (
+