connect
Create an arrow connection between two shapes in a tldraw file. Binding-driven positioning links source and target shapes. Returns arrow and binding IDs for further use.
Instructions
Connect two shapes with an arrow. Arrow position is binding-driven (start/end stored as 0,0 fallback). Returns arrow id + binding ids.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to a .tldr file | |
| fromId | Yes | Source shape id | |
| toId | Yes | Target shape id | |
| text | No |