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

Function makeNode

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

Source from the content-addressed store, hash-verified

5import { getUniqueNodeId, getUniqueNodeLabel, initNode, resolveNodeType } from './nodeFactory'
6
7const makeNode = (id: string, name: string, label: string) => makeFlowNode(id, { data: { id, name, label } })
8
9describe('resolveNodeType', () => {
10 it('should resolve StickyNote type to stickyNote', () => {

Callers 1

Calls 1

makeFlowNodeFunction · 0.90

Tested by

no test coverage detected