nodes.hide
hide(selector: NodeSelector): Promise<void>Hide the selected nodes so they are not rendered.
Accepts any NodeSelector shape. Recorded in history as "HideNodes".
Emits "visibility:changed" with { visible: false }.
selector | NodeSelector | Identifies the node(s) to hide. |
Returns: Promise<void>
Example
await api.nodes.hide(["s1", "s2"]);