Skip to Content
You are viewing the v12 docs of React Flow. You can find the latest version here.
ReferenceTypes

ConnectionMode

Source on GitHub 

The ConnectionMode enum provides two options for connection behavior in React Flow:

  • Strict: Connections can only be made starting from a source handle and ending on a target handle
  • Loose: Connections can be made between any handles, regardless of type
enum ConnectionMode { Strict = 'strict', Loose = 'loose', }
Last updated on