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

Method addPositionable

src/LGraphCanvas.ts:3675–3678  ·  view source on GitHub ↗
(item: Positionable)

Source from the content-addressed store, hash-verified

3673 this.onSelectionChange?.(this.selected_nodes)
3674
3675 function addPositionable(item: Positionable): void {
3676 if (!item.selected || !selectedItems.has(item)) notSelected.push(item)
3677 else isSelected.add(item)
3678 }
3679 }
3680
3681 /**

Callers

nothing calls this directly

Calls 2

hasMethod · 0.80
addMethod · 0.80

Tested by

no test coverage detected