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

Function onEdgeClick

packages/ui/src/views/agentflowsv2/AgentFlowEdge.jsx:44–48  ·  view source on GitHub ↗
(evt, id)

Source from the content-addressed store, hash-verified

42 const dispatch = useDispatch()
43
44 const onEdgeClick = (evt, id) => {
45 evt.stopPropagation()
46 deleteEdge(id)
47 dispatch({ type: SET_DIRTY })
48 }
49
50 const xEqual = sourceX === targetX
51 const yEqual = sourceY === targetY

Callers 1

AgentFlowEdgeFunction · 0.70

Calls 1

deleteEdgeFunction · 0.85

Tested by

no test coverage detected