add_graph_fragment
Add up to 256 nodes and their connections to a procedural material graph in one undoable operation.
Instructions
Add up to 256 nodes and their internal connections in one undoable operation.
Each node needs at least type and may include name, parameters, and
node_position. Connections use from, from_port, to, and to_port.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodes | Yes | ||
| position | No | ||
| connections | No | ||
| material_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||