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

Method fApplyMultiNode

src/LGraphCanvas.ts:1206–1208  ·  view source on GitHub ↗
(node: LGraphNode)

Source from the content-addressed store, hash-verified

1204 if (!node) return
1205
1206 const fApplyMultiNode = function (node: LGraphNode) {
1207 node.setSize(node.computeSize())
1208 }
1209
1210 const canvas = LGraphCanvas.active_canvas
1211 if (!canvas.selected_nodes || Object.keys(canvas.selected_nodes).length <= 1) {

Callers

nothing calls this directly

Calls 7

collapseMethod · 0.80
toggleAdvancedMethod · 0.80
changeModeMethod · 0.80
addMethod · 0.80
computeSizeMethod · 0.65
setSizeMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected