ArrowShapeKindStyle

See source code

Style property for arrow shape kind, determining how the arrow is drawn.

Arrows can be drawn as arcs (curved) or elbows (angled with straight segments). This affects the visual appearance and behavior of arrow shapes.

ArrowShapeKindStyle: import('../styles/StyleProp').EnumStyleProp<
  'arc' | 'elbow'
>

Example

// Create an arrow with arc style (curved)
const arcArrow: TLArrowShape = {
  // ... other properties
  props: {
    kind: 'arc',
    // ... other props
  },
}

// Create an arrow with elbow style (angled)
const elbowArrow: TLArrowShape = {
  // ... other properties
  props: {
    kind: 'elbow',
    // ... other props
  },
}
Prev
ArrowShapeArrowheadStartStyle
Next
arrowShapeMigrations