mercredi 8 mars 2017

How could I include vis.js library in angularjs app?

I am developing a graphical editor to make a hierarchical network layout (like in the image). This could be done with Vis.js (it's an example from their site).

network layout

But I want to do something similar to this mockup:

mockup

Knowing that I want to keep my data 'bind' with AngularJs, and make a drag'n'drop functionnality with AngularJs too. I've found a library that offers pre-made directives for vis.js, but it doesn't include the Network layout.

It would be a pleasure to have some advice. I'd like to know how to use a javascript script on one side, within an Angularjs app.

Thanks for you help !




Aucun commentaire:

Enregistrer un commentaire