update_diagram_file
Modify .drawio diagram files by moving, resizing, relabeling, restyling, adding vertices and edges, or removing elements. Requires prior inspection of cell IDs via read_diagram_file.
Instructions
Modify an existing .drawio diagram file. Supports operations: move (absolute), move_by (relative offset), resize, relabel, restyle, add_vertex, add_edge, remove. Use read_diagram_file first to inspect cell IDs, then call update_diagram_file with the target operations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to .drawio file to update | |
| operations | Yes | List of operations to apply |