add_arrow
Draw an arrow between two points in an Excalidraw diagram, with optional label text near the midpoint.
Instructions
Add an arrow between two points.
Optionally add bound text near the arrow midpoint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| x2 | Yes | ||
| y2 | Yes | ||
| label | No | ||
| elbowed | No | ||
| opacity | No | ||
| font_size | No | ||
| roughness | No | ||
| font_family | No | ||
| strokeColor | No | ||
| strokeStyle | No | ||
| strokeWidth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text_id | No | ||
| arrow_id | No | ||
| frame_id | No | ||
| label_id | No | ||
| circle_id | No | ||
| diamond_id | No | ||
| rectangle_id | No |