MCPcopy
hub / github.com/tldraw/tldraw / executeNode

Function executeNode

templates/workflow/src/nodes/nodeTypes.tsx:86–92  ·  view source on GitHub ↗
(
	editor: Editor,
	shape: NodeShape,
	inputs: Record<string, number>
)

Source from the content-addressed store, hash-verified

84}
85
86export async function executeNode(
87 editor: Editor,
88 shape: NodeShape,
89 inputs: Record<string, number>
90): Promise<ExecutionResult> {
91 return await getNodeDefinition(editor, shape.props.node).execute(shape, shape.props.node, inputs)
92}
93
94export function getNodeOutputInfo(
95 editor: Editor,

Callers 1

executeNodeIfReadyMethod · 0.90

Calls 2

getNodeDefinitionFunction · 0.70
executeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…