distribute_nodes
Space or align nodes along an axis with modes for fixed gap, even spacing, centering, and cross-axis alignment, defaulting to parent bounds.
Instructions
Space or align a set of nodes along an axis. axis: horizontal|vertical. mode: gap (fixed gap), spaceBetween/evenly (fill bounds), center (center the cluster). crossAlign: none|start|center|end. Bounds default to the common parent; pass bounds {x1,y1,x2,y2} to override (horizontal coordinates) or {y1,x1,y2,x2} semantics for vertical.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"nodeIds": "<nodeIds>"
},
"name": "distribute_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gap | No | ||
| axis | No | ||
| mode | No | ||
| bounds | No | ||
| nodeIds | Yes | ||
| crossAlign | No |