Operational Transformations form JSON document collaboration libraries and visualization.
Why do we need PuppetJS versioning and Operational Transformations?
$ bower install juicy-diamond-graph --save
Or download as ZIP.
-
Import Web Components' polyfill:
<script src="bower_components/platform/platform.js"></script>
-
Import Custom Element:
<link rel="import" href="bower_components/juicy-diamond-graph/src/juicy-diamond-graph.html">
-
Start using it!
<juicy-diamond-graph></juicy-diamond-graph>
Attribute | Options | Default | Description |
---|---|---|---|
edges |
array{object} | [] |
Array of DiamondEdge objects. |
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 |
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -m 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
For detailed changelog, check Releases.