协作
此示例展示了如何使用 React Flow 和 yjs 为多个用户构建协作图。该示例可作为构建多用户流程和编辑器的起点。请注意,房间不是全局共享的:要在另一个标签页中打开相同的流程,你可以点击下面的按钮,或从流程内部的“共享”按钮复制 URL。要向流程中添加新节点,请右键点击画布。
🌐 This example shows how to build a collaborative graph for multiple users with React Flow and yjs . The example can be used as a starting point to build multi-user flows and editors. Note that the room is not globally shared: to open the same flow in another tab, you can click the button below, or copy the URL from the “Share” button inside the flow. To add new nodes to the flow, right click on the canvas.
Open the flow in a new tab!
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
- 依赖: @xyflow/react , yjs , y-websocket
- 许可证:xyflow Pro 许可证
Last updated on