MCPcopy Create free account
hub / github.com/Comfy-Org/litegraph.js / selectNodes

Method selectNodes

src/LGraphCanvas.ts:3838–3840  ·  view source on GitHub ↗

* selects several nodes (or adds them to the current selection) * @deprecated See LGraphCanvas.selectItems

(nodes?: LGraphNode[], add_to_current_selection?: boolean)

Source from the content-addressed store, hash-verified

3836 * @deprecated See {@link LGraphCanvas.selectItems}
3837 */
3838 selectNodes(nodes?: LGraphNode[], add_to_current_selection?: boolean): void {
3839 this.selectItems(nodes, add_to_current_selection)
3840 }
3841
3842 /** @deprecated See {@link LGraphCanvas.deselect} */
3843 deselectNode(node: LGraphNode): void {

Callers 2

selectNodeMethod · 0.95
onMenuNodeCloneMethod · 0.80

Calls 1

selectItemsMethod · 0.95

Tested by

no test coverage detected