{"_id":"@chadmarchand/vue-diagrams","_rev":"3-031c7639ba9c060837121fc48fcf3a91","name":"@chadmarchand/vue-diagrams","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1-development":{"name":"@chadmarchand/vue-diagrams","description":"Diagram component for vue.js, inspired by react-diagrams","version":"0.0.1-development","license":"MIT","main":"dist/vue-diagrams.common.js","module":"dist/vue-diagrams.esm.js","unpkg":"dist/vue-diagrams.js","jsdelivr":"dist/vue-diagrams.js","author":{"name":"Gwenael Pluchon"},"repository":{"type":"git","url":"git+https://github.com/gwenaelp/vue-diagrams.git"},"bugs":{"url":"https://github.com/gwenaelp/vue-diagrams/issues"},"homepage":"https://github.com/gwenaelp/vue-diagrams#readme","keywords":["vue","vue-component","vue-library"],"engines":{"node":">=8.9.0"},"scripts":{"build":"npm run build:cjs && npm run build:es && npm run build:umd:dev && npm run build:umd:prod","build:cjs":"rollup -c --environment TARGET:cjs","build:es":"rollup -c --environment TARGET:esm","build:umd:dev":"rollup -c --environment TARGET:umd-dev","build:umd:prod":"rollup -c --environment TARGET:umd-prod","storybook":"start-storybook -p 9001 -c .storybook","storybook:build":"build-storybook -c .storybook -o docs/dist/stories","precommit":"lint-staged","cz":"git-cz","commitmsg":"commitlint -e $GIT_PARAMS","test":"npm run lint && jest --verbose --coverage","test:update":"jest --verbose --updateSnapshot","test:watch":"jest --verbose --watchAll --notify","lint":"eslint --ext .js,.vue .","lint:fix":"eslint --ext .js,.vue . --fix","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"devDependencies":{"@babel/core":"^7.4.4","@babel/preset-typescript":"^7.3.3","@commitlint/cli":"^6.0.2","@commitlint/config-conventional":"^5.2.3","@semantic-release/changelog":"^1.0.0","@semantic-release/git":"^2.0.1","@semantic-release/github":"^3.0.1","@semantic-release/npm":"^2.6.1","@storybook/vue":"^3.3.3","@vue/cli-plugin-typescript":"^3.0.1","@vue/cli-service":"^3.0.0-rc.10","babel-plugin-root-import":"^6.1.0","commitizen":"^2.9.6","cz-conventional-changelog":"^2.1.0","eslint":"^4.14.0","eslint-config-prettier":"^2.9.0","eslint-import-resolver-babel-module":"^4.0.0","eslint-plugin-html":"^4.0.1","eslint-plugin-import":"^2.8.0","eslint-plugin-jest":"^21.5.0","eslint-plugin-prettier":"2.4.0","eslint-plugin-vue":"^4.0.1","husky":"^0.14.3","jest":"^22.0.4","jest-serializer-html":"^5.0.0","jest-serializer-vue":"^0.3.0","jest-vue-preprocessor":"^1.3.1","lint-staged":"^6.0.0","lodash":"^4.17.4","prettier":"^1.9.2","rollup":"^0.54.0","rollup-plugin-babel":"^4.3.2","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-filesize":"^1.5.0","rollup-plugin-json":"^2.3.0","rollup-plugin-license":"^0.5.0","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-replace":"^2.0.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.21.0","rollup-plugin-uglify":"^2.0.1","rollup-plugin-vue":"^5.0.0","semantic-release":"^12.2.2","stylus":"^0.54.5","stylus-loader":"^3.0.1","tslint":"^5.11.0","tslint-config-airbnb":"^5.10.0","typescript":"^3.4.5","uglify-es":"^3.3.4","vue-cli-plugin-vuetify":"^0.1.6","vue-jest":"^1.4.0","vue-template-compiler":"^2.5.17"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"lint-staged":{"*.{js,vue}":["eslint --fix","git add"]},"release":{"verifyConditions":["@semantic-release/changelog","@semantic-release/npm","@semantic-release/git","@semantic-release/github"],"getLastRelease":"@semantic-release/npm","publish":["@semantic-release/changelog","@semantic-release/npm","@semantic-release/git","@semantic-release/github"]},"dependencies":{"draggable-vue-directive":"^1.1.0","svg-pan-zoom":"^3.5.3","vue":"^2.5.17","vue-class-component":"^6.3.2","vue-property-decorator":"^7.2.0","vue-svg-pan-zoom":"^0.1.0","webpack":"^4.30.0"},"gitHead":"97b4929b93e35771393f55c80b66bc6656de3310","_id":"@chadmarchand/vue-diagrams@0.0.1-development","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"chadmarchand","email":"chadmarchand@gmail.com"},"dist":{"integrity":"sha512-88v3ZccX5HZ5jNwEPazx+8ryb2FuQJ4ilk0ab9HfEVpEdT3vmsATt2IuB/D0C9ltROnUK4bBfAsv8lQ2SyB6eg==","shasum":"23472e95b313de9b4a8d3cff7ff7cad0b3107ac5","tarball":"https://registry.npmjs.org/@chadmarchand/vue-diagrams/-/vue-diagrams-0.0.1-development.tgz","fileCount":30,"unpackedSize":560102,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0R7ACRA9TVsSAnZWagAAoUkP/iXXRJJtAqMv4SfbajXG\n9PQJo7ZVZdDqNp3lPH6hApk+9rMHuYqTcwObL8ZK7yvD8mQjY8FVp/1liINb\nXOvdwncEwQrQM3nJi3tAh2PspA9u0XDnTBQb1BG2r1K6BR7I87KQEGT8DP/i\n55iQY5l3V4aHyB6nC7AUQfMXYQ/9RZfY7nLK+6luvOmHf2whJNg4eChvtsKi\n8R9/PZUvvilMtaUunsqqpz/veU3Uct8+F8je2JnUdX97SecOsovVPh+mJFrI\nKbZmMw0OB6+K0GuNueAdoQwoQzpxmpc5iDjOM128QfHJeeM2bfVqgW9hBP80\ngYcxUxS37h8wqOXN7a5UxnLk7KKGDpcZd4T0VYb8YHlE8rqzyKabG3ZtNizO\nqCzFjztoDEgVwIUxvnQCihXFxxUgT33/UfZBD1g3fZ/1gCXaNN5o9H+L5tOS\nZDS60HQWLSh6nGBCbRKdBiwBjBe0qizW8e9wAabswqUO1jrtzSWq8NT3Vh0+\nqvuxd9QZRbcrrKCutWG0wPQPEu71/p7E43xGHdggbUiIWZ1/AgUVTFc5ZUFP\nmjlYZSEL4MOq9QXdSjRUrttcpvzuLjxPz6Ahf2LiUrhhB+NcR0FWLFZLBtgF\n0oRxsfkyMbeY7AVZuVA8Qvtb0I29VglPQ4cpVfEhLkBwzXMgJZGexMUrXvJA\nNIYf\r\n=c9sO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB0bO5L8CDIhrhBerU0F+EgylwtIt6cwkVNjDIhopRl7AiEA/vmJykmGMDD1CAwE2opdF0/hxUwY0H6K2Z1CCExdvIo="}]},"maintainers":[{"name":"chadmarchand","email":"chadmarchand@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-diagrams_0.0.1-development_1557208767784_0.9843105541366486"},"_hasShrinkwrap":false},"0.0.1":{"name":"@chadmarchand/vue-diagrams","description":"Diagram component for vue.js, inspired by react-diagrams","version":"0.0.1","license":"MIT","main":"dist/vue-diagrams.common.js","module":"dist/vue-diagrams.esm.js","unpkg":"dist/vue-diagrams.js","jsdelivr":"dist/vue-diagrams.js","author":{"name":"Gwenael Pluchon"},"repository":{"type":"git","url":"git+https://github.com/gwenaelp/vue-diagrams.git"},"bugs":{"url":"https://github.com/gwenaelp/vue-diagrams/issues"},"homepage":"https://github.com/gwenaelp/vue-diagrams#readme","keywords":["vue","vue-component","vue-library"],"engines":{"node":">=8.9.0"},"scripts":{"build":"npm run build:cjs && npm run build:es && npm run build:umd:dev && npm run build:umd:prod","build:cjs":"rollup -c --environment TARGET:cjs","build:es":"rollup -c --environment TARGET:esm","build:umd:dev":"rollup -c --environment TARGET:umd-dev","build:umd:prod":"rollup -c --environment TARGET:umd-prod","storybook":"start-storybook -p 9001 -c .storybook","storybook:build":"build-storybook -c .storybook -o docs/dist/stories","precommit":"lint-staged","cz":"git-cz","commitmsg":"commitlint -e $GIT_PARAMS","test":"npm run lint && jest --verbose --coverage","test:update":"jest --verbose --updateSnapshot","test:watch":"jest --verbose --watchAll --notify","lint":"eslint --ext .js,.vue .","lint:fix":"eslint --ext .js,.vue . --fix","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"devDependencies":{"@babel/core":"^7.4.4","@babel/preset-typescript":"^7.3.3","@commitlint/cli":"^6.0.2","@commitlint/config-conventional":"^5.2.3","@semantic-release/changelog":"^1.0.0","@semantic-release/git":"^2.0.1","@semantic-release/github":"^3.0.1","@semantic-release/npm":"^2.6.1","@storybook/vue":"^3.3.3","@vue/cli-plugin-typescript":"^3.0.1","@vue/cli-service":"^3.0.0-rc.10","babel-plugin-root-import":"^6.1.0","commitizen":"^2.9.6","cz-conventional-changelog":"^2.1.0","eslint":"^4.14.0","eslint-config-prettier":"^2.9.0","eslint-import-resolver-babel-module":"^4.0.0","eslint-plugin-html":"^4.0.1","eslint-plugin-import":"^2.8.0","eslint-plugin-jest":"^21.5.0","eslint-plugin-prettier":"2.4.0","eslint-plugin-vue":"^4.0.1","husky":"^0.14.3","jest":"^22.0.4","jest-serializer-html":"^5.0.0","jest-serializer-vue":"^0.3.0","jest-vue-preprocessor":"^1.3.1","lint-staged":"^6.0.0","lodash":"^4.17.4","prettier":"^1.9.2","rollup":"^0.54.0","rollup-plugin-babel":"^4.3.2","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-filesize":"^1.5.0","rollup-plugin-json":"^2.3.0","rollup-plugin-license":"^0.5.0","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-replace":"^2.0.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.21.0","rollup-plugin-uglify":"^2.0.1","rollup-plugin-vue":"^5.0.0","semantic-release":"^12.2.2","stylus":"^0.54.5","stylus-loader":"^3.0.1","tslint":"^5.11.0","tslint-config-airbnb":"^5.10.0","typescript":"^3.4.5","uglify-es":"^3.3.4","vue-cli-plugin-vuetify":"^0.1.6","vue-jest":"^1.4.0","vue-template-compiler":"^2.5.17"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"lint-staged":{"*.{js,vue}":["eslint --fix","git add"]},"release":{"verifyConditions":["@semantic-release/changelog","@semantic-release/npm","@semantic-release/git","@semantic-release/github"],"getLastRelease":"@semantic-release/npm","publish":["@semantic-release/changelog","@semantic-release/npm","@semantic-release/git","@semantic-release/github"]},"dependencies":{"draggable-vue-directive":"^1.1.0","svg-pan-zoom":"^3.5.3","vue":"^2.5.17","vue-class-component":"^6.3.2","vue-property-decorator":"^7.2.0","vue-svg-pan-zoom":"^0.1.0","webpack":"^4.30.0"},"gitHead":"0b5a9a1da62758ba7143ebfe1025dcd339039cb2","_id":"@chadmarchand/vue-diagrams@0.0.1","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"chadmarchand","email":"chadmarchand@gmail.com"},"dist":{"integrity":"sha512-N+wsSyJ4a5soLHi6DWCTw4wjW0L6s3GaGUoc89Kb32Cf4JBGhuf8bAzj0qMbggZHyN0dcp2nfZc+SDSO8bD8Ow==","shasum":"1f7d95a4b37301438231eccc1dcedd1e6d2fa477","tarball":"https://registry.npmjs.org/@chadmarchand/vue-diagrams/-/vue-diagrams-0.0.1.tgz","fileCount":30,"unpackedSize":560083,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0SP5CRA9TVsSAnZWagAA7U4P/2ZlD+UStVJNtEwssT5R\ni4Z8C9bQOIC52OGcHxLMFDunao7MFxt0lisFbAkdcDIxmZtcpkKTgj85k7dY\nwx301jSTCFRUse92XiFyzCFEOrpNZRnkooCm4ko3CfC/aWp6dDrxFIenttCC\nOjerlwMuxiQFzNKX1ZpJ20dV8ymZT+gd5OFxs35HZiXSRRaFhLvLPNdk1aqB\nEpNg1dgAposmJ8n6Jv0g7D+O6Bv7gIuWvXBpA6V5E4y/djwRX7zpl0ngh+CN\nDRQHueHmt5AYMMhFDjGIa8NyBwyz+5HHulxVh2RyQ9Vg6C+uPvWdCAPrI6uY\ntg46x8eZZJ3pkzIUna24M/BZ7FBCfE0Mq790oGJaHh5lmEjYsDX9k/lvgXQN\nwV4vjpZ5WOqiwBii5B6FLIYknycn6JlTltA19stUnBUnwuSjKMz3KTMAYLk4\n7GgawbdyyFbl+8RJ3mc7NoHPEwZRztWAz+A5fjx/JbWozPjbqTwWa5xkcwXR\nUdwc5cYvuCUFkr9/VxJUCv22waSEH2HALi24lq0aLtNJHnKttBaxNVifVPKK\n7oHV2x5/XAt7LS7gUYgxh3oyFD1LwBIKk1b5aBb6rrmcTHkD3AgX4yjxFRGz\ngct5o9HMvixKi1JAgH2BU5/PinL78pw51UgUTQ6iL9xoKi9qhOMZC/dsUyns\nkk90\r\n=mKp+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIELwJuUt09pxNgMMz44sWj5HuSp3uMvAb+Nj/9417HD7AiBy/Qtr+37ud0dd0b8/aJ0XjjgtCmKoWG8SsTh5V0U6xw=="}]},"maintainers":[{"name":"chadmarchand","email":"chadmarchand@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-diagrams_0.0.1_1557210105200_0.5249901353334434"},"_hasShrinkwrap":false},"0.0.2":{"name":"@chadmarchand/vue-diagrams","description":"Diagram component for vue.js, inspired by react-diagrams","version":"0.0.2","license":"MIT","main":"dist/vue-diagrams.common.js","module":"dist/vue-diagrams.esm.js","unpkg":"dist/vue-diagrams.js","jsdelivr":"dist/vue-diagrams.js","author":{"name":"Gwenael Pluchon"},"repository":{"type":"git","url":"git+https://github.com/gwenaelp/vue-diagrams.git"},"bugs":{"url":"https://github.com/gwenaelp/vue-diagrams/issues"},"homepage":"https://github.com/gwenaelp/vue-diagrams#readme","keywords":["vue","vue-component","vue-library"],"engines":{"node":">=8.9.0"},"scripts":{"build":"npm run build:cjs && npm run build:es && npm run build:umd:dev && npm run build:umd:prod","build:cjs":"rollup -c --environment TARGET:cjs","build:es":"rollup -c --environment TARGET:esm","build:umd:dev":"rollup -c --environment TARGET:umd-dev","build:umd:prod":"rollup -c --environment TARGET:umd-prod","storybook":"start-storybook -p 9001 -c .storybook","storybook:build":"build-storybook -c .storybook -o docs/dist/stories","precommit":"lint-staged","cz":"git-cz","commitmsg":"commitlint -e $GIT_PARAMS","test":"npm run lint && jest --verbose --coverage","test:update":"jest --verbose --updateSnapshot","test:watch":"jest --verbose --watchAll --notify","lint":"eslint --ext .js,.vue .","lint:fix":"eslint --ext .js,.vue . --fix","prepublishOnly":"npm run build","semantic-release":"semantic-release"},"devDependencies":{"@babel/core":"^7.4.4","@babel/preset-typescript":"^7.3.3","@commitlint/cli":"^6.0.2","@commitlint/config-conventional":"^5.2.3","@semantic-release/changelog":"^1.0.0","@semantic-release/git":"^2.0.1","@semantic-release/github":"^3.0.1","@semantic-release/npm":"^2.6.1","@storybook/vue":"^3.3.3","@vue/cli-plugin-typescript":"^3.0.1","@vue/cli-service":"^3.0.0-rc.10","babel-plugin-root-import":"^6.1.0","commitizen":"^2.9.6","cz-conventional-changelog":"^2.1.0","eslint":"^4.14.0","eslint-config-prettier":"^2.9.0","eslint-import-resolver-babel-module":"^4.0.0","eslint-plugin-html":"^4.0.1","eslint-plugin-import":"^2.8.0","eslint-plugin-jest":"^21.5.0","eslint-plugin-prettier":"2.4.0","eslint-plugin-vue":"^4.0.1","husky":"^0.14.3","jest":"^22.0.4","jest-serializer-html":"^5.0.0","jest-serializer-vue":"^0.3.0","jest-vue-preprocessor":"^1.3.1","lint-staged":"^6.0.0","lodash":"^4.17.4","prettier":"^1.9.2","rollup":"^0.54.0","rollup-plugin-babel":"^4.3.2","rollup-plugin-commonjs":"^8.2.6","rollup-plugin-filesize":"^1.5.0","rollup-plugin-json":"^2.3.0","rollup-plugin-license":"^0.5.0","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-replace":"^2.0.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.21.0","rollup-plugin-uglify":"^2.0.1","rollup-plugin-vue":"^5.0.0","semantic-release":"^12.2.2","stylus":"^0.54.5","stylus-loader":"^3.0.1","tslint":"^5.11.0","tslint-config-airbnb":"^5.10.0","typescript":"^3.4.5","uglify-es":"^3.3.4","vue-cli-plugin-vuetify":"^0.1.6","vue-jest":"^1.4.0","vue-template-compiler":"^2.5.17"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"lint-staged":{"*.{js,vue}":["eslint --fix","git add"]},"release":{"verifyConditions":["@semantic-release/changelog","@semantic-release/npm","@semantic-release/git","@semantic-release/github"],"getLastRelease":"@semantic-release/npm","publish":["@semantic-release/changelog","@semantic-release/npm","@semantic-release/git","@semantic-release/github"]},"dependencies":{"draggable-vue-directive":"^1.1.0","svg-pan-zoom":"^3.5.3","vue":"^2.5.17","vue-class-component":"^6.3.2","vue-property-decorator":"^7.2.0","vue-svg-pan-zoom":"^0.1.0","webpack":"^4.30.0"},"gitHead":"317ed10d9d51dff7404b1e90c0838e0688c9de21","_id":"@chadmarchand/vue-diagrams@0.0.2","_npmVersion":"6.4.1","_nodeVersion":"8.16.0","_npmUser":{"name":"chadmarchand","email":"chadmarchand@gmail.com"},"dist":{"integrity":"sha512-hoDiyqGmWXnVcGcwJCYYMOUyrlqwbx6xaAsTbRt/NNfnkuhk/M15Wk89RS0cJTAGj8nhovnF1OgNl78ZT9cZCQ==","shasum":"2869a7b4ffcd175bf107f444f98381ac4dd064df","tarball":"https://registry.npmjs.org/@chadmarchand/vue-diagrams/-/vue-diagrams-0.0.2.tgz","fileCount":30,"unpackedSize":294848,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc0SgRCRA9TVsSAnZWagAAnbMP/2SeYkHU+PLVXcKrREIk\n7pLQOhA5P1UVoz+5oyaJEPlGcsqpkvp/NtvWyjrNqJYXVI7JUxhL1cTorlkM\nL2lXCyGNkJUeqpNjU63A4/l1CVvr8rewIy9bTpyicVEs3b8Hj9dN8GYe9oiL\nD/l9lIc8lQlBZN3VhFnZGYsPYFS3kinYwogsmW7gjPKdGk/TMSxcMkUXEtsa\nmEpEvqH0Aqg8A3hibZ1XlPyhFfokum3sY9P/Fx7hUIfeQ40JsgN3SqY4NUrK\nMn4xEjYWoGxBR71VushC6dFi7aqp9I+6eMN1kctuJqHJJo+xUUctHakhvHhz\nwf5E+jk0N37707NJXJWUU7KtYriIAvE4d2exzlt5XqFEG3VoMYtInH2qkOrX\nQqSh4Ups+Atibiwx9Z1Zx1BxwySDAGEV58NYgWFhHzQfOfU/uLjDtn68cb4/\n1027MtoqLwisWEeOCkt74WsLr66UD5DQaAHEo7yz4WzKknyrs1/m4tNPXTHu\nb+Q0lKpg9phNNmGbc6C7HUsFMNLRirUm9q0OROzyU6n3IyHlXZuOGRH6zFdf\na76+FVEDx0ULy0VwB7j+b8IkqPGnIPTdxx2hJqGwwQbxkwTCeuov1rOIbHMu\n+TzVcCLpLuyRzFS6DvQVAXeegm6JBeAX2moUsb3BIsMp0h3lCANXiTomwM1D\nQL4N\r\n=51k7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGpetgRm2WNuY87Dy9xibnBk0RVaXMM+L08I1tf4mftMAiBXZOAH8h8ZwH0ZCQHla5fTRPVD0FZqyrGYFoJxKIN/Hg=="}]},"maintainers":[{"name":"chadmarchand","email":"chadmarchand@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-diagrams_0.0.2_1557211152365_0.8620890464449888"},"_hasShrinkwrap":false}},"time":{"created":"2019-05-07T05:59:27.756Z","0.0.1-development":"2019-05-07T05:59:27.917Z","modified":"2022-04-04T22:26:09.527Z","0.0.1":"2019-05-07T06:21:45.321Z","0.0.2":"2019-05-07T06:39:12.483Z"},"maintainers":[{"name":"chadmarchand","email":"chadmarchand@gmail.com"}],"description":"Diagram component for vue.js, inspired by react-diagrams","homepage":"https://github.com/gwenaelp/vue-diagrams#readme","keywords":["vue","vue-component","vue-library"],"repository":{"type":"git","url":"git+https://github.com/gwenaelp/vue-diagrams.git"},"author":{"name":"Gwenael Pluchon"},"bugs":{"url":"https://github.com/gwenaelp/vue-diagrams/issues"},"license":"MIT","readme":"# vue-diagrams\n\n![Rollup badge](https://img.shields.io/badge/Rollup-^0.53.3-ff69b4.svg)\n![Jest](https://img.shields.io/badge/Jest-^22.0.4-blue.svg)\n![Vue](https://img.shields.io/badge/Vue-^2.5.13-brightgreen.svg)\n![Storybook](https://img.shields.io/badge/Storybook-^3.3.3-ff70a3.svg)\n![Commitizen](https://img.shields.io/badge/Commitizen-enabled-brightgreen.svg)\n[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)\n![Npm badge](https://img.shields.io/npm/v/vue-diagrams.svg)\n[![Build Status](https://travis-ci.org/gwenaelp/vue-diagrams.svg?branch=master)](https://travis-ci.org/gwenaelp/vue-diagrams)\n\n> Diagram component for vue.js, inspired by react-diagrams\n\n![](./images/example1.png)\n\n> Generated using [vue-cli-template-library](https://github.com/julon/vue-cli-template-library).\n\n## Installation\n```\nnpm install vue-diagrams\n```\nvue-diagrams can be used as a module in both CommonJS and ES modular environments.\n\nWhen in non-modular environment, vue-diagrams will register all the components to vue by itself.</p>\n\n### After that, you can use it in your Vue components:\n\n```html\n<template>\n  <diagram :model=\"model\"></diagram>\n</template>\n<script>\nimport { Diagram } from 'vue-diagrams';\n\nexport default {\n  data() {\n    const diagramModel = new Diagram.Model();\n\n    const node1 = diagramModel.addNode(\"test2\", 300, 200);\n    const inPort = node1.addInPort(\"test\");\n\n    const node2 = diagramModel.addNode(\"test\", 10, 300, 144, 80);\n    const node2OutPort = node2.addOutPort(\"testOut\");\n    node2.addOutPort(\"testOut2\");\n    node2.color = '#00cc66';\n\n    const node3 = diagramModel.addNode(\"test3\", 10, 100, 72, 100);\n    const node3OutPort = node3.addOutPort(\"testOut3\");\n    node3.color = '#cc6600';\n\n    diagramModel.addLink(node2OutPort, inPort);\n    diagramModel.addLink(node3OutPort, inPort);\n\n    return {\n      model: diagramModel\n    };\n  },\n\n  components: {\n    Diagram\n  },\n};\n</script>\n```\n\n## Changelog\n\nSee the GitHub [release history](https://github.com/gwenaelp/vue-diagrams/releases).\n\n## Contributing\n\nSee [CONTRIBUTING.md](.github/CONTRIBUTING.md).\n","readmeFilename":"README.md"}