Skip to main content


This example shows how to build a collaborative graph for multiple users with React Flow and yjs. The changes made in this graph are visible for all users on this page. To see it working, you can open this page in another tab or on another device or browser. The example can be used as a starting point to build multi user flows and editors.

Dependencies: reactflow, yjs

This is a Pro example. If you are subscribed to React Flow Pro you can access the annotated source code.