How to use library a.k.a jointjs together with Cycle.js

216 Views Asked by At

Recently I was looking for an framework that I can use together with jointjs. So far I tried react/angular/angular2.

I do wanna try out it with Cycle.js. But putting them together so 'old' stuff (jointjs) and cycle.js just overheads me. I know that I should create a driver to interact with jointjs. If someone can help me to get starter with simple example of joint(e.g.: http://www.jointjs.com/tutorial#hello-world) + cycle, that would be amazing.

Basic points that need to be included is:

  1. JointJS required an container NODE element
  2. Whenever users makes some changes (drag&drops elements around or resize them) it will broadcast an event. Something like this:
graph.on('all', function(eventName, cell) {
    console.log(arguments);
});
0

There are 0 best solutions below