update_process
Merge partial specification changes into an existing BPMN file and regenerate the diagram layout, enabling programmatic edits to Bizagi process models without manual redrawing.
Instructions
Edit an existing .bpmn file by merging changes into its specification and regenerating the diagram (with a fresh layout).
changes accepts the same keys as a spec. Lists are handled by key:
a node or flow whose id matches an existing one replaces it, anything else
is appended. Use "removeNodes": ["id", …] / "removeFlows": ["id", …] to delete.
Args: file_path: The .bpmn file to edit. changes: Partial specification to merge in. output_path: Where to write the result. Defaults to overwriting file_path. overwrite: Required when writing over an existing file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | ||
| file_path | Yes | ||
| overwrite | No | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||