update_element
Update an existing node or edge in a draw.io diagram by changing specified properties like position, label, style, or dimensions. Only the attributes you specify are modified.
Instructions
Update properties of an existing node or edge in a draw.io diagram. Only specified properties are changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | New X position | |
| y | No | New Y position | |
| label | No | New label text | |
| style | No | New style string | |
| width | No | New width | |
| height | No | New height | |
| filePath | Yes | Path to the .drawio file | |
| elementId | Yes | ID of the element to update |