I have try to use yjs to mock Drawio’s P2PCollab and write a iframe-bridge for somebody who work with drawio or it’s source code with iframe
Features
- Bidirectional binding between drawio files and Y.Doc
- Real-time collaboration via y-webrtc, y-websocket, or any Yjs provider
- Undo/Redo support with Y.UndoManager
- Collaborative cursors via y-protocols Awareness
- iframe Bridge for isolated drawio instances synced via postMessage
- Full TypeScript support