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

Method getInnerNodes

src/subgraph/ExecutableNodeDTO.ts:120–122  ·  view source on GitHub ↗

Returns either the DTO itself, or the DTOs of the inner nodes of the subgraph.

()

Source from the content-addressed store, hash-verified

118
119 /** Returns either the DTO itself, or the DTOs of the inner nodes of the subgraph. */
120 getInnerNodes(): ExecutableLGraphNode[] {
121 return this.node.isSubgraphNode() ? this.node.getInnerNodes(this.nodesByExecutionId, this.subgraphNodePath) : [this]
122 }
123
124 /**
125 * Resolves the executable node & link IDs for a given input slot.

Callers

nothing calls this directly

Calls 1

isSubgraphNodeMethod · 0.45

Tested by

no test coverage detected