nodes

nodes.unpinAll

unpinAll(): Promise<void>

Release every currently pinned node so layout algorithms may move them again. Recorded in history as a single "UnpinNodes" entry whose undo restores the exact prior pinned set. No-op (and no history entry) when nothing is pinned.

Returns: Promise<void>

Example

await api.nodes.unpinAll();