Toggle the pinned state for a single node.
Pinned nodes are excluded from auto-layout on the frontend. If the node has no saved position, creates one at (0, 0) with the requested pin state.
Returns: Complete set of saved positions after update.
Request body for toggling a node's pinned state.
Attributes: pinned: Whether the node should be excluded from auto-layout.
Successful Response
Response body for canvas position queries.
Attributes: positions: Map of resource ID to node position.