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

Function getMinimumHeight

packages/ui/src/views/agentflowsv2/AgentFlowNode.jsx:102–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100 }
101
102 const getMinimumHeight = () => {
103 const outputCount = getOutputAnchors().length
104 // Use exactly 60px as minimum height
105 return Math.max(60, outputCount * 20 + 40)
106 }
107
108 const getBackgroundColor = () => {
109 if (customization.isDarkMode) {

Callers 1

AgentFlowNodeFunction · 0.70

Calls 1

getOutputAnchorsFunction · 0.70

Tested by

no test coverage detected