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

Function deleteEdge

packages/ui/src/store/context/ReactFlowContext.jsx:132–136  ·  view source on GitHub ↗
(edgeid)

Source from the content-addressed store, hash-verified

130 }
131
132 const deleteEdge = (edgeid) => {
133 deleteConnectedInput(edgeid, 'edge')
134 reactFlowInstance.setEdges(reactFlowInstance.getEdges().filter((edge) => edge.id !== edgeid))
135 dispatch({ type: SET_DIRTY })
136 }
137
138 const deleteConnectedInput = (id, type) => {
139 const connectedEdges =

Callers 4

onConditionDialogSaveFunction · 0.85
onEdgeClickFunction · 0.85
onEdgeClickFunction · 0.85
onEdgeClickFunction · 0.85

Calls 1

deleteConnectedInputFunction · 0.85

Tested by

no test coverage detected