edit-cell
Modify existing shapes in Draw.io diagrams by updating text, position, dimensions, or style properties using the cell ID. Only specified changes are applied while preserving other attributes.
Instructions
Update properties of an existing vertex/shape cell by its ID. Only provided fields are modified; unspecified properties remain unchanged.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell_id | Yes | Identifier (`id` attribute) of the cell to update. Applies to vertex/shape cells. | |
| text | No | Replace the cell's text/label content. | |
| x | No | Set a new X-axis position for the cell. | |
| y | No | Set a new Y-axis position for the cell. | |
| width | No | Set a new width for the cell. | |
| height | No | Set a new height for the cell. | |
| style | No | Replace the cell's style string (semi-colon separated `key=value` pairs). |