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

IsValidConnection

The IsValidConnection type is the signature of a function that decides whether an attempted Connection is allowed. Return true to permit it. Pass one via the isValidConnection prop on <VueFlow /> or on an individual <Handle />.

Fields

Parameters:
NameTypeDefault
edgeEdgeType | Connection
Returns:
boolean