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

Function isMultiOutput

packages/components/src/agentflowv2Generator.ts:169–171  ·  view source on GitHub ↗
(source: string)

Source from the content-addressed store, hash-verified

167
168const updateEdges = (edges: Edge[], nodes: Node[]): Edge[] => {
169 const isMultiOutput = (source: string) => {
170 return source.includes('conditionAgentflow') || source.includes('conditionAgentAgentflow') || source.includes('humanInputAgentflow')
171 }
172 const findNodeColor = (nodeId: string) => {
173 const node = nodes.find((node) => node.id === nodeId)
174 return node?.data?.color

Callers 1

updateEdgesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected