Skip to content

连接半径

¥Connection Radius

本示例展示了如何使用 connectionRadius 属性。此属性允许你传递一个数字,该数字将用于确定连接线与最近句柄对齐的半径。此外,我们创建了一条自定义连接线,用于为句柄着色(你可以省略此操作,只使用 connectionRadius)。

¥This examples shows you how to use the connectionRadius prop. This prop allows you to pass a number which will be used to determine the radius at which a connection line will snap to the nearest handle. In addition, we create a custom connection line which will color the handles (you can omit this and just use connectionRadius).

VueFlow v1.42 中文网 - 粤ICP备13048890号