Skip to Content
You are viewing the v12 docs of React Flow. You can find the latest version here.
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
Last updated on