Skip to Content
React Flow 13 is here! Read the announcement →
ReferenceTypes

OnEdgesDelete

Source on GitHub 

The OnEdgesDelete type defines the callback function that is called when edges are deleted. This callback receives an array of the deleted edges.

type OnEdgesDelete = (edges: Edge[]) => void;
Parameters:
NameTypeDefault
edgesEdgeType[]
Returns:
void