create_connections
Define and link nodes in Figma designs using a default connector style, enabling clear visual relationships between elements programmatically.
Instructions
Create connections between nodes using the default connector style
Input Schema
Name | Required | Description | Default |
---|---|---|---|
connections | Yes | Array of node connections to create |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"connections": {
"description": "Array of node connections to create",
"items": {
"additionalProperties": false,
"properties": {
"endNodeId": {
"description": "ID of the ending node",
"type": "string"
},
"startNodeId": {
"description": "ID of the starting node",
"type": "string"
},
"text": {
"description": "Optional text to display on the connector",
"type": "string"
}
},
"required": [
"startNodeId",
"endNodeId"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"connections"
],
"type": "object"
}