close
Skip to Content
React Flow Pro is now integrated into reactflow.dev! Read more 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