Internal
Connector
The connector item type.
Send "type": "connector". A primitive the editor draws; it has no MCP tool.
Fields
fromstringrequiredItem id.
tostringrequiredItem id.
styleenum<string>One of stepcurve, stepline, curve or line. Defaults to stepcurve.
labelstringcolorstringthicknessintegerDefaults to 1.
Example
{
"type": "connector",
"data": {
"from": "string",
"to": "string",
"style": "stepcurve",
"label": "string",
"color": "string",
"thickness": 1
}
}
Was this page helpful?