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

Function findNodeColor

packages/components/src/agentflowv2Generator.ts:172–175  ·  view source on GitHub ↗
(nodeId: string)

Source from the content-addressed store, hash-verified

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
175 }
176
177 // filter out edges that do not exist in nodes
178 edges = edges.filter((edge) => {

Callers 1

updateEdgesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected