Skip to Content
代码示例Edges

可编辑边缘

此示例说明如何使用可拖动控制点实现可路由和可编辑的边缘以更改边缘的路径。它还包括一条可用于绘制自由边缘的自定义连接线。为此,你需要在进行连接时按下 “空格”。

¥This example explains how to implement a routable and editable edge with draggable control points to change the path of an edge. It also includes a custom connection line that can be used to draw a freeform edge. For this you need to press “Space” while doing a connection.

This is a Pro example. Get all pro examples, templates, 1:1 support from the xyflow team and prioritized Github issues with a React Flow Pro subscription.

关于此 Pro 示例

¥About this Pro Example

Last updated on