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

Function makeEdge

packages/agentflow/src/core/utils/flowExport.test.ts:10–11  ·  view source on GitHub ↗
(source: string, target: string, overrides?: Partial<FlowEdge>)

Source from the content-addressed store, hash-verified

8 makeFlowNode(id, { selected: true, data: { id, name: 'testNode', label: 'Test' }, ...overrides })
9
10const makeEdge = (source: string, target: string, overrides?: Partial<FlowEdge>) =>
11 makeFlowEdge(source, target, { selected: true, ...overrides })
12
13describe('generateExportFlowData', () => {
14 it('should deselect all nodes and edges', () => {

Calls 1

makeFlowEdgeFunction · 0.90

Tested by

no test coverage detected