Skip to content
MockFlow DevelopersGet an API key

The connector item type.

Updated 18 Sep 20261 min read

Send "type": "connector". A primitive the editor draws; it has no MCP tool.

Fields

data
fromstringrequired

Item id.

tostringrequired

Item id.

styleenum<string>

One of stepcurve, stepline, curve or line. Defaults to stepcurve.

labelstring
colorstring
thicknessinteger

Defaults to 1.

Example

{
  "type": "connector",
  "data": {
    "from": "string",
    "to": "string",
    "style": "stepcurve",
    "label": "string",
    "color": "string",
    "thickness": 1
  }
}
Was this page helpful?

Sign in to MockFlow

The same account you use in the app and on the API.

Forgot your password?
or
Continue with GoogleContinue with MicrosoftContinue with Apple