distribute_elements
Distribute elements in Excalidraw diagrams evenly along horizontal or vertical axes for better organization and alignment using structured API commands.
Instructions
Distribute elements evenly
Input Schema
Name | Required | Description | Default |
---|---|---|---|
direction | Yes | ||
elementIds | Yes |
Input Schema (JSON Schema)
{
"properties": {
"direction": {
"enum": [
"horizontal",
"vertical"
],
"type": "string"
},
"elementIds": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"elementIds",
"direction"
],
"type": "object"
}