Skip to Content
参考类型

NodeHandle

GitHub上的源代码 

NodeHandle 类型用于在使用服务端渲染时定义节点的句柄。在服务器端,React Flow 无法测量 DOM 节点,因此有必要定义句柄位置的尺寸。

🌐 The NodeHandle type is used to define a handle for a node if server-side rendering is used. On the server, React Flow can’t measure DOM nodes, so it’s necessary to define the handle position dimensions.

NameTypeDefault
widthnumber
heightnumber
idstring | null
xnumber
ynumber
positionPosition
type'source' | 'target'
Last updated on