edit-edge
Modify existing diagram connections by updating edge properties like labels, styles, or endpoints. Change specific attributes while preserving unmodified settings.
Instructions
Update properties of an existing edge by its ID. Only provided fields are modified; unspecified properties remain unchanged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cell_id": "<cell_id>"
},
"name": "edit-edge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell_id | Yes | Identifier (`id` attribute) of the edge cell to update. The ID must reference an edge. | |
| text | No | Replace the edge's label text. | |
| source_id | No | Reassign the edge's source terminal to a different cell ID. | |
| target_id | No | Reassign the edge's target terminal to a different cell ID. | |
| style | No | Replace the edge's style string (semi-colon separated `key=value` pairs). |