papercanvas_patch
Apply a batch of semantic operations atomically: add, remove, or update nodes, edges, styles, and groups. Supports optimistic concurrency via expected revision, with revision increment on success only.
Instructions
Apply a batch of semantic operations in ONE all-or-nothing transaction: add_node, remove_node (+remove_edges:true), update_node, set_style, add_edge, remove_edge, add_group, update_label, move_node. On success the revision increments by 1; on failure nothing changes. Pass expected_revision for optimistic concurrency.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| operations | Yes | ||
| expected_revision | No |