nodes

nodes.unpin

unpin(selector: NodeSelector): Promise<void>

Unpin the selected nodes so layout algorithms may move them again.

Accepts any NodeSelector shape. Recorded in history as "UnpinNodes". Does not emit an event.

selectorNodeSelectorIdentifies the node(s) to unpin.

Returns: Promise<void>

Example

await api.nodes.unpin("s1");