Skip to Content
参考类型

ConnectionMode

GitHub上的源代码 

ConnectionMode 枚举为 React Flow 中的连接行为提供了两种选项:

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

  • Strict:连接只能从源句柄开始,到目标句柄结束。
  • Loose:任何句柄之间都可以建立连接,无论类型如何。
enum ConnectionMode { Strict = 'strict', Loose = 'loose', }
Last updated on