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

Function makeNode

packages/agentflow/src/core/validation/flowValidation.test.ts:7–7  ·  view source on GitHub ↗
(id: string, name: string, label?: string)

Source from the content-addressed store, hash-verified

5import { validateFlow, validateNode } from './flowValidation'
6
7const makeNode = (id: string, name: string, label?: string) => makeFlowNode(id, { data: { id, name, label: label || name } })
8
9const makeEdge = makeFlowEdge
10

Calls 1

makeFlowNodeFunction · 0.90

Tested by

no test coverage detected