move_elements_by
Move elements by a relative offset (dx, dy) for horizontal and vertical shifts. Use with element IDs from find_elements to move multiple items.
Instructions
Shift one or more elements by a relative offset.
Use when the user says "move the generator 200px to the right" or "push the machine down by 100px", without needing to query current coordinates first.
To move all elements of a named pattern, call find_elements first to collect the IDs, then pass them here.
Args: element_ids: List of place/transition IDs to move dx: Horizontal shift in canvas units (positive = right) dy: Vertical shift in canvas units (positive = down)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element_ids | Yes | ||
| dx | No | ||
| dy | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |