Skip to content

可更新边

¥Updatable Edge

现有边可以更新,这意味着它们的源/目标位置可以交互更改。

¥Existing edges can be updated, meaning their source / target position can be changed interactively.

只需将边从一个节点拖动到另一个节点(边锚点,即句柄)即可更新边。

¥Update an edge by simply dragging it from one node to another at the edge-anchor (handles).

你可以通过传递 edgesUpdatable 属性全局启用边更新,也可以使用 updatable 属性为特定边启用边更新。

¥You can enable updating edges either globally by passing the edgesUpdatable prop or you can enable it for specific edges by using the updatable attribute.

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