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

Function getStateColor

packages/ui/src/views/agentflowsv2/IterationNode.jsx:87–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85
86 // Get different shades of the color based on state
87 const getStateColor = () => {
88 if (data.selected) return nodeColor
89 if (isHovered) return alpha(nodeColor, 0.8)
90 return alpha(nodeColor, 0.5)
91 }
92
93 const getOutputAnchors = () => {
94 return data.outputAnchors ?? []

Callers 1

IterationNodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected