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

SelectionChangeEvent

The SelectionChangeEvent type is the payload of the @selection-change event, fired whenever the selection changes. It carries the currently selected nodes and edges.

Fields

NameTypeDefault
nodesNodeType[]

The currently selected nodes.

edgesEdgeType[]

The currently selected edges.