"How to minimize Yjs store size for an editor like Figma?"

As I understand saying throttling updates to the Y.Doc you mean as discussed in Throttling Yjs updates with garbage collection but the live doc again have a graph.store.clients.get(graph.clientID).length ~ 356000 which is going slow down any operation on doc.
My problem is now single user, single session editing experience after i can think about merging updates some how and deliver to peers

I think I need some kind of function to throttling Items in list “doc.store.clients.get(doc.clientID)”