MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / makeNodeData

Function makeNodeData

packages/agentflow/src/__test_utils__/factories.ts:49–50  ·  view source on GitHub ↗
(overrides?: Partial<NodeData>)

Source from the content-addressed store, hash-verified

47 * makeNodeData({ name: 'llmAgentflow', label: 'LLM', category: 'AI' })
48 */
49export const makeNodeData = (overrides?: Partial<NodeData>): NodeData =>
50 ({ id: '', name: 'testNode', label: 'Test Node', ...overrides } as NodeData)
51
52/**
53 * Create a {@link NodeDataSchema} descriptor (component definition / catalog shape).

Calls

no outgoing calls

Tested by 1

makeNodeFunction · 0.72