(source: string)
| 167 | |
| 168 | const 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 |