Create nodes
create_nodesCreate one or many nodes and optionally link them in a single undoable step. Nodes auto-place without overlaps and return final ids and positions.
Instructions
Create one or many nodes (any kind) and optionally link them, in ONE undoable step (Ctrl+Z in hive removes the whole batch). Nodes get the same defaults as hive's Q menu. Placement: explicit x/y, else near another node, else automatic placement from origin (default: centre of the visible area) using layout, never overlapping existing nodes. Use ref to link nodes created in the same call (e.g. a mind map: layout "tree" + links from the root). Returns the final ids, names and positions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gap | No | ||
| links | No | from/to: node ids or refs from `nodes`. | |
| nodes | Yes | ||
| layout | No | For nodes without x/y/near. Default auto. | |
| origin | No | Board point where automatic placement starts. |