cricklet / operational-transform-demo Goto Github PK
View Code? Open in Web Editor NEWImplementation/demo of collaborative text editing via operational transforms.
Implementation/demo of collaborative text editing via operational transforms.
Could you add better documentation and instruction on how to run and build the project locally?
@cricklet
Undo should support IP2(operation transform an do-undo pair should be the same) and IP3(a and b are concurrent operation, a- is inverse operation of a, then a-' should be equal to a'-).
Suppose two users deletes the same character b from 'abc', then undo their operations. If IP3 is not satisfied, the result should be 'abbc'. In pure text system, it's tolerable. But in some complicate system like spreadsheet collaborative editing system, it may cause serious problem.
I search for ot control algorithm to support IP2 and IP3. They ether need ET function(hard to implement), or is too hard to implement, Context based control algorithm is the only algorithm only need IT function to satisfy IP2 and IP3 I know, and it saves all original operation and their context vector, and rerun all transformations if needed(I think this replaced ET function).
Do you know some good control algorithm too resolve IP2 and IP3 problem?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.