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

ConnectionStatus

The ConnectionStatus type reports the state of the connection being drawn — valid or invalid (or null when there is none). It’s surfaced on ConnectionState and the connection-line slot props, handy for styling handles or the connection line.

Type

type ConnectionStatus = 'valid' | 'invalid';