# Connector

> The connector item type.

Source: https://mockflow.com/developers/reference/item-types/connector

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

### Fields

- `from` (string, required): Item id.
- `to` (string, required): Item id.
- `style` (enum<string>): One of `stepcurve`, `stepline`, `curve` or `line`. Defaults to `stepcurve`.
- `label` (string)
- `color` (string)
- `thickness` (integer): Defaults to `1`.

## Example

```json
{
  "type": "connector",
  "data": {
    "from": "string",
    "to": "string",
    "style": "stepcurve",
    "label": "string",
    "color": "string",
    "thickness": 1
  }
}
```
