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

Function getAnchorOptions

packages/ui/src/views/canvas/NodeOutputHandler.jsx:35–37  ·  view source on GitHub ↗
(options = [])

Source from the content-addressed store, hash-verified

33 }
34
35 const getAnchorOptions = (options = []) => {
36 return options.filter((option) => !option.hidden && option.isAnchor)
37 }
38
39 const getAnchorPosition = (options, index) => {
40 const spacing = clientHeight / (getAnchorOptions(options).length + 1)

Callers 2

getAnchorPositionFunction · 0.85
NodeOutputHandlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected