Edit node
edit_nodeModify a graph node in a YAML/JSON file: change label, position, style, properties, or ID; unspecified fields stay unchanged and connected edges update on rename.
Instructions
Edit a node. Only the given fields change. setProperties adds/overwrites keys, removeProperties deletes keys, properties replaces the whole list. Renaming (newId) updates connected edges. style "" clears the style.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| label | No | ||
| newId | No | ||
| style | No | ||
| position | No | ||
| properties | No | ||
| setProperties | No | ||
| removeProperties | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Current graph file; null when the graph is in memory only | |
| node | Yes |