remove_element
Remove a node or edge from a draw.io diagram by ID, also cleaning up all connected edges.
Instructions
Remove a node or edge from a draw.io diagram by its ID. Also removes any edges connected to a removed node.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Path to the .drawio file | |
| elementId | Yes | ID of the element to remove |