Skip to content

Visualization of PuppetJS OT for async collaboration between browser and server on shared View-Model JSON

Notifications You must be signed in to change notification settings

tomalec/PuppetJs-operational-transformation

Repository files navigation

PuppetJS OT

Operational Transformations form JSON document collaboration libraries and visualization.

About

Why do we need PuppetJS versioning and Operational Transformations?

Visualization

Visualization

$ bower install juicy-diamond-graph --save

Or download as ZIP.

Usage

  1. Import Web Components' polyfill:

    <script src="bower_components/platform/platform.js"></script>
  2. Import Custom Element:

    <link rel="import" href="bower_components/juicy-diamond-graph/src/juicy-diamond-graph.html">
  3. Start using it!

    <juicy-diamond-graph></juicy-diamond-graph>

Attributes & Properites

Attribute Options Default Description
edges array{object} [] Array of DiamondEdge objects.

Methods

Method Parameters Returns Description
goRightClient() None. self Move Client to the right - new Client version
goRightServer() None. self Move Server to the right - server sync with Client
goLeft() None. self Move to the left - new Server version comes to the Client

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

History

For detailed changelog, check Releases.

License

MIT License

About

Visualization of PuppetJS OT for async collaboration between browser and server on shared View-Model JSON

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published