Collaborative Editing
Relay editor changes between instances with getSharedStore, seed a joining editor from runtimeValue and the store's registers, settle edits made at the same moment, and show each collaborator's cursor, focus, selection, and drag box.
Yjs
Keep an <erd-editor> element or a headless peer store in step through a Yjs document with @dineug/erd-editor-yjs, seed a room, show presence through Awareness, keep editing offline, and fold the room's history with a compaction sidecar.
Remote Storage
Replicate a live editor into a headless store off the main thread, and serialize the document for storage.
Schema
The .erd.json document format — the storage form a file holds, its TypeScript types, the constants behind each numeric field, and the published JSON Schema.