{"_id":"ovh-angular-jsplumb","_rev":"31-239f59a11b7cdeec9d4feecc45bf1cf2","name":"ovh-angular-jsplumb","dist-tags":{"latest":"3.0.5"},"versions":{"3.0.5":{"name":"ovh-angular-jsplumb","version":"3.0.5","author":{"name":"OVH SAS"},"license":"BSD-3-Clause","_id":"ovh-angular-jsplumb@3.0.5","maintainers":[{"name":"frisouilles","email":"kevin.bonduelle@corp.ovh.com"}],"homepage":"https://github.com/ovh-ux/ovh-angular-jsplumb#readme","bugs":{"url":"https://github.com/ovh-ux/ovh-angular-jsplumb/issues"},"dist":{"shasum":"2fc7399455ce74b44dd2089f57b30710119615f0","tarball":"https://registry.npmjs.org/ovh-angular-jsplumb/-/ovh-angular-jsplumb-3.0.5.tgz","integrity":"sha512-5A7kwuNz4QWIASiJ6GZIYAFpJRSf2BzrYHEoFxX+1ObXmuwVqJEsiDaxfyHr4xBSPelGSR2WxTA2WOlgu5KUUw==","signatures":[{"sig":"MEUCIEMPARTu7jFvUTwJIXmsAYiU904y5+qCSGltobtnE1fLAiEA8pnKTm2yMgyzzixYKyiTMhkKqLAGCIpPsyfvs4j1uWU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./dist/ovh-angular-jsplumb.min.js","_from":".","_shasum":"2fc7399455ce74b44dd2089f57b30710119615f0","gitHead":"f63fae6bb7a2750f64a2938eb148dd0088891cec","scripts":{"test":"grunt test"},"_npmUser":{"name":"frisouilles","email":"kevin.bonduelle@corp.ovh.com"},"repository":{"url":"git+https://github.com/ovh-ux/ovh-angular-jsplumb.git","type":"git"},"_npmVersion":"4.1.2","description":"Allow to draw links between elements using [jsplumb toolkit](http://www.jsplumb.org/).","directories":{},"_nodeVersion":"7.7.1","devDependencies":{"grunt":"0.4.x","karma":"~0.13.22","eslint":"^4.1.1","matchdep":"^1.0.0","grunt-bump":"~0.7.0","grunt-karma":"~0.12.1","grunt-eslint":"^20.0.0","grunt-ngdocs":"^0.2.5","jasmine-core":"^2.3.4","grunt-wiredep":"^2.0.0","karma-jasmine":"~0.3.0","grunt-injector":"^0.6.0","jshint-stylish":"~2.1.0","grunt-complexity":"~0.3.0","eslint-config-ovh":"^0.1.1","grunt-ng-annotate":"~1.0.1","grunt-autoprefixer":"~3.0.3","grunt-contrib-copy":"~0.8.2","grunt-contrib-less":"~1.1.0","phantomjs-prebuilt":"^2.1.11","grunt-contrib-clean":"~0.7.0","grunt-contrib-watch":"~0.6.1","grunt-contrib-concat":"~0.5.0","grunt-contrib-cssmin":"~0.14.0","grunt-contrib-jshint":"~0.11.0","grunt-contrib-uglify":"~0.11.0","grunt-contrib-connect":"^0.11.2","grunt-contrib-csslint":"~0.5.0","jasmine-spec-reporter":"^2.5.0","karma-phantomjs-launcher":"~1.0.1"},"_npmOperationalInternal":{"tmp":"tmp/ovh-angular-jsplumb-3.0.5.tgz_1498553825502_0.6403372322674841","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-06-27T08:57:06.973Z","modified":"2025-12-18T14:47:42.745Z","3.0.5":"2017-06-27T08:57:06.973Z"},"bugs":{"url":"https://github.com/ovh-ux/ovh-angular-jsplumb/issues"},"author":{"name":"OVH SAS"},"license":"BSD-3-Clause","homepage":"https://github.com/ovh-ux/ovh-angular-jsplumb#readme","repository":{"url":"git+https://github.com/ovh-ux/ovh-angular-jsplumb.git","type":"git"},"description":"Allow to draw links between elements using [jsplumb toolkit](http://www.jsplumb.org/).","maintainers":[{"email":"jean-christophe.alleman@corp.ovh.com","name":"jisay"},{"email":"jean-philippe.blary@corp.ovh.com","name":"blary_jp"},{"email":"ant.leblanc@gmail.com","name":"antleblanc"},{"email":"tech.ux.ext@ovh.com","name":"ovh-ux-cds"},{"email":"cyril.biencourt@corp.ovh.com","name":"lizardk"},{"email":"opensource@ovh.net","name":"ovh"},{"email":"mariejones962@gmail.com","name":"marie-j"},{"email":"anooparveti@gmail.com","name":"anooparveti"},{"email":"helabenkhalfallah@hotmail.fr","name":"helabenkhalfallah"},{"email":"benjamin.coenen@hotmail.com","name":"bnjjj"},{"email":"giovanni.clement@gmail.com","name":"gioindahouz"},{"email":"k.ung@rduk.fr","name":"khuang"},{"email":"joffrey.leveugle@gmail.com","name":"jleveugle"},{"email":"axel.peter@live.com","name":"axelpeter"},{"email":"cyrille.bourgois@gmail.com","name":"cbourgois"}],"readme":"\n# ovh-angular-jsplumb\n\n![githubbanner](https://user-images.githubusercontent.com/3379410/27423240-3f944bc4-5731-11e7-87bb-3ff603aff8a7.png)\n\n[![Maintenance](https://img.shields.io/maintenance/yes/2017.svg)]() [![Chat on gitter](https://img.shields.io/gitter/room/ovh/ux.svg)](https://gitter.im/ovh/ux) [![Build Status](https://travis-ci.org/ovh-ux/ovh-angular-jsplumb.svg)](https://travis-ci.org/ovh-ux/ovh-angular-jsplumb)\n\n[![NPM](https://nodei.co/npm/ovh-angular-jsplumb.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/ovh-angular-jsplumb/)\n\nAllow to draw links between elements using [jsplumb toolkit](http://www.jsplumb.org/).\n\n## Table of contents\n* [Dependencies](#dependencies)\n* [Installation](#installation)\n* [Example](#example)\n* [Module Components](#module-components)\n\n## Dependencies\n\n- [jsplumb](http://jsplumb.org)\n- [jqueryUI](http://jqueryui.com/) as a dependency of jsplumb.\n\nIf you are using grunt and grunt wiredep, overrides the jsplumb dependency like this :\n ```javascript\n ...\n wiredep: {\n    overrides : {\n        jsplumb: {\n            main : 'dist/js/jquery.jsPlumb-1.7.3-min.js'\n        },\n        'jquery-ui' : {\n            main : [\n                'ui/minified/core.min.js',\n                'ui/minified/widget.min.js',\n                'ui/minified/mouse.min.js',\n                'ui/minified/draggable.min.js',\n                'ui/minified/droppable.min.js'\n            ]\n        }\n    }\n }\n ...\n ```\n\nFor jqueryUI, we only need draggable and droppable functionnalities (and the few core functionnalities). So we can load only these files.\n\n## Example\nFirst, make sure `jsplumb` is ready by calling `jsPlumbService.jsplumbInit` method :\n ```javascript\n angular.module('app').controller('myAppCtrl', function ($scope, jsPlumbService) {\n     $scope.jsplumbReady = false;\n\n     jsPlumbService.jsplumbInit()['finally'](function () {\n         $scope.jsplumbReady = true;\n     });\n });\n ```\n Create an instance of `ovh-angular-jsplumb` with the `jsplumbInstance` directive :\n ```html\n <div data-ng-if=\"jsplumbReady\"\n      data-jsplumb-instance>\n\n     ...\n\n </div>\n ```\n\n## Installation\n\n### Bower\n```\nbower install ovh-angular-jsplumb --save\n```\n\n### NPM\n```\nnpm install ovh-angular-jsplumb --save\n```\n\n### Get the sources\n```bash\ngit clone https://github.com/ovh-ux/ovh-angular-jsplumb.git\ncd ovh-angular-jsplumb\nnpm install\nbower install\n```\n\nYou've developed a new cool feature? Fixed an annoying bug? We'd be happy\nto hear from you!\n\nHave a look in [CONTRIBUTING.md](https://github.com/ovh-ux/ovh-angular-jsplumb/blob/master/CONTRIBUTING.md)\n\n## Run the tests\n\n```\nnpm test\n```\n\n## Build the documentation\n\n```\ngrunt ngdocs\n```\n\n## Related links\n\n * Contribute: https://github.com/ovh-ux/ovh-angular-jsplumb/CONTRIBUTING.md\n * Report bugs: https://github.com/ovh-ux/ovh-angular-jsplumb/issues\n * Get latest version: https://github.com/ovh-ux/ovh-angular-jsplumb\n\n## License\n\nSee https://github.com/ovh-ux/ovh-angular-jsplumb/blob/master/LICENSE\n\n\nThen include ovh-angular-jsplumb.js in your HTML with it's dependencies (**Note** : As mentionned above, you can only load jquery ui dependency files) :\n\n```\n<script src=\"jquery.js\">\n<script src=\"jquery-ui.js\">\n<script src=\"jsplumb.js\">\n<script src=\"angular.js\">\n<script src=\"ovh-angular-jsplumb.js\">\n```\n\nAnd then load the module in your application by adding it as a dependent module:\n\n```\nangular.module('app', ['ovh-angular-jsplumb']);\n```\n","readmeFilename":"README.md"}