translate_elements
Move canvas elements by a delta, including bound labels, group members, frame children, and fully connected arrows. Refuses elements drawn by other active agents unless forced.
Instructions
Move elements by a delta, carrying everything that must travel with them: each element's bound label, every other member of a group the ids belong to, the children of a moved frame, and any arrow bound at both ends to elements that are moving. An arrow bound at one end is re-attached to the moved shape instead of moved, and reported on its own line. Each element moves exactly once however many ways the closure reaches it. The result reports how many moved and which ids the closure added. An element another agent in the room drew is left alone and reported as refused unless force is true; a person's elements and those of an agent that has left are never guarded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dx | Yes | Horizontal delta in scene pixels; positive is right. | |
| dy | Yes | Vertical delta in scene pixels; positive is down. | |
| ids | Yes | ||
| force | No | Edit elements another agent in the room drew anyway. Without it those ids are skipped and reported as refused, so the agent still working on them keeps a true picture of the scene. |