Skip to Content
参考类型

OnEdgesDelete

GitHub上的源代码 

OnEdgesDelete 类型定义了在删除边时被调用的回调函数。此回调函数接收一个已删除边的数组。

🌐 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