ElbowArrowSnap

See source code

Defines the snapping behavior for elbow-style arrows when binding to shapes. Controls how the arrow segment aligns with the target shape's geometry.

ElbowArrowSnap: T.Validator<"center" | "edge-point" | "edge" | "none">;

Example

const binding: TLArrowBindingProps = {
  terminal: "end",
  normalizedAnchor: { x: 0.5, y: 0.5 },
  isExact: false,
  isPrecise: true,
  snap: "edge", // Snap to shape edge
};
Prev
drawShapeProps
Next
embedShapeMigrations