Appearance
连接半径
🌐 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).