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

Method getNodeById

src/LGraph.ts:960–964  ·  view source on GitHub ↗

* Returns a node by its id.

(id: NodeId | null | undefined)

Source from the content-addressed store, hash-verified

958 * Returns a node by its id.
959 */
960 getNodeById(id: NodeId | null | undefined): LGraphNode | null {
961 return id != null
962 ? this._nodes_by_id[id]
963 : null
964 }
965
966 /**
967 * Returns a list of nodes that matches a class

Callers 5

computeExecutionOrderMethod · 0.95
addFloatingLinkMethod · 0.95
removeFloatingLinkMethod · 0.95
removeLinkMethod · 0.95
configureMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected