Skip to Content
Vue Flow v2 is here and joins xyflow! Read more here →

OnDelete

The OnDelete type is the payload of the @delete event, fired after elements are removed. It carries the nodes and edges that were deleted.

Fields

Parameters:
NameTypeDefault
params{ nodes: NodeType[]; edges: EdgeType[]; }
Returns:
void