set_constraints
Apply layout constraints to nodes for pinning relative to parent. Choose vertical and horizontal settings like min, max, center, stretch, or scale.
Instructions
Set layout constraints (pinning behaviour) on one or more nodes relative to their parent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeIds | Yes | Node IDs in colon format e.g. ['4029:12345'] | |
| vertical | No | Vertical constraint: MIN (top), MAX (bottom), CENTER, STRETCH, or SCALE | |
| horizontal | No | Horizontal constraint: MIN (left), MAX (right), CENTER, STRETCH, or SCALE |