{"name":"@antv/g6","version":"3.0.4-beta.1","keywords":["g6","relational data","graph visualization","graph editor","graph analysis"],"author":{"name":"https://github.com/orgs/antvis/people"},"license":"MIT","_id":"@antv/g6@3.0.4-beta.1","maintainers":[{"name":"army8735","email":"army8735@qq.com"},{"name":"dori","email":"418466938@qq.com"},{"name":"dxq613","email":"dxq613@gmail.com"},{"name":"elaine.q.10","email":"yilin.qyl@antfin.com"},{"name":"leungwensen","email":"leungwensen@gmail.com"},{"name":"lzxue","email":"120635640@qq.com"},{"name":"sakuya223","email":"360965398@qq.com"},{"name":"simaq","email":"sima.zhang1990@gmail.com"},{"name":"yanyan-wang","email":"yanyanwang93@gmail.com"}],"contributors":[{"url":"https://github.com/AceLeeWinnie","email":"leanne06204@163.com"},{"url":"https://github.com/liuwuyue","email":"wyueliu@gmail.com"},{"url":"https://github.com/deggs7","email":"deggs.k@gmail.com"}],"homepage":"https://github.com/antvis/g6","bugs":{"url":"https://github.com/antvis/g6/issues"},"dist":{"shasum":"2dec0c7f53b4e2db5075faa9b903e7d654d93b17","tarball":"http://registry-npm.ywwl.com/@antv/g6/download/@antv/g6-3.0.4-beta.1.tgz","fileCount":104,"integrity":"sha512-bXwZAw2mI+ewXNuFrTxqf9+L/mnPY+xV0nPV+/C3qttD2g6DejDwCMDpGtoA5R/kjba/4SdzhUu/yikwhO8gYA==","signatures":[{"sig":"MEUCIQCbQ3Vs3Z8mevFWtadBHcTNt/sgBDLpA4c9YTJpdAD5DwIgEn9JRnRXVLr9crAaK+5Qy9CLQbdF6X1jxKcOoPvg/Qo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":852420,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxAUuCRA9TVsSAnZWagAA2tAP/RSPTgUDAFyaGt1wQbaS\ncgKqn4lIRK3xTtuFbnYohsY3+K44iQUB6Pz6AqTZiD4EFy2zDHJwoEbIhP9m\nknGuxho3FvXzGp3LnOXl8PpbwILiEU8CAy1N02LJgJe9BGRAQbJe6MG/HVO+\npNVDErAIakgWMLV2JoE/aeXKK3D6eUS7TjYBwC65ZD3TQyPk82MkFL3Pssx+\n+FLPfidw5TQeqz6eupSW6caBMbbTUrnVEFYejsRFwmy2tu6z9HuzEdm/NRTn\n/b45Wsim64n+J/33oA5zxMP6qarmZBSsWgQIsGN9KjXtqrfQgyJv9B6bGliz\nXNNpeOofkmVgQMtVReiRFLyhkgrGkIEod9BebNqwwzU7toDmcDaoJe59kIU+\nOhquY6W7H3nJ4LqqjTxrKeiNpozymWkI/OP4K5IE0jpos7D1ZmYjijG+zYb3\niZE3mFn0GrYsMHIkDkxohf4Pyq3AJ1UuVQDw3eo1KYsRbjiOgoJMFJ1Vw23D\ngfRgjvsRhQheABMOACQZMVUO0Z4IMqsHm28B8HJfb80Rib/B0PcO+H5ngFy1\nmbNjwcqSXwmZMxaodCb6kbC/BtuoPlCqGgQ9ybxsN+Zwp5UIZH+mDwM2wNSj\n2S7nqGUZ3kMKFhKfmx1V9rCCPzqgcXPoD4TY9riTOQJUew5fRDomWraz2jeG\nmOJS\r\n=PiBh\r\n-----END PGP SIGNATURE-----\r\n","size":230986,"noattachment":false,"key":"/@antv/g6/-/@antv/g6-3.0.4-beta.1.tgz"},"main":"build/g6.js","readme":"# G6: A Graph Visualization Framework in JavaScript.\n![](https://user-images.githubusercontent.com/6113694/45008751-ea465300-b036-11e8-8e2a-166cbb338ce2.png)\n\n[![](https://img.shields.io/travis/antvis/g6.svg)](https://travis-ci.org/antvis/g6)\n![](https://img.shields.io/badge/language-javascript-red.svg)\n![](https://img.shields.io/badge/license-MIT-000000.svg)\n[![npm package](https://img.shields.io/npm/v/@antv/g6.svg)](https://www.npmjs.com/package/@antv/g6)\n[![NPM downloads](http://img.shields.io/npm/dm/@antv/g6.svg)](https://npmjs.org/package/@antv/g6)\n[![Percentage of issues still open](http://isitmaintained.com/badge/open/antvis/g6.svg)](http://isitmaintained.com/project/antvis/g6 \"Percentage of issues still open\")\n\n[中文 README](README-zh_CN.md)\n\nG6 is a graph visualization framework which provides a set of basic mechanisms. Developers are able to build graph visualization **analysis** application or graph visualization **modeling** application easily. For more details, please see our [doc](https://www.yuque.com/antv/g6/intro).\n\n<img src=\"https://user-images.githubusercontent.com/6113694/44995293-02858600-afd5-11e8-840c-349e4730d63d.gif\" height=150><img src=\"https://cdn.nlark.com/yuque/0/2018/gif/93506/1535955277773-840190f8-836a-4bd6-875a-b3a18e6cebf1.gif\" height=150><img src=\"https://user-images.githubusercontent.com/6113694/44995332-2ba61680-afd5-11e8-8cab-db0e9d08ceb7.gif\" height=150>\n\n<img src=\"https://gw.alipayobjects.com/zos/rmsportal/HQxYguinFOMIXrGQOABY.gif\" height=150><img src=\"https://gw.alipayobjects.com/zos/rmsportal/nAugyFgrbrUWPmDIDiQm.gif\" height=150><img src=\"https://cdn.nlark.com/yuque/0/2019/gif/174835/1552990627466-92a4ce23-79b2-4930-ab05-6478b56ce880.gif\" height=150>\n\n## [G6-Editor](https://yuque.com/antv/g6-editor)\n<img src=\"https://gw.alipayobjects.com/zos/rmsportal/nzmycBewjfxKDbepTDlT.gif\" width=560>\n<img src=\"https://gw.alipayobjects.com/zos/rmsportal/WVqnbgJmamdahbAuDpBL.gif\" width=560>\n<img src=\"https://cdn.nlark.com/yuque/0/2018/png/93506/1542618842515-6655c4aa-5345-40b5-b496-236f0c89c8f3.png\" width=560>\n\n## G6-Analyzer [coming soon]\n\n![](https://gw.alipayobjects.com/zos/rmsportal/GxupfuhWyMZWwPWWYgaO.gif)\n\n## Installation\n\n```bash\n$ npm install @antv/g6\n```\n\n<img src=\"https://gw.alipayobjects.com/zos/rmsportal/qSUOQUhnRrHCLvEjhZGP.png\" />\n\n## Usage\n```js\nimport G6 from '@antv/g6';\n\nconst data = {\n  nodes: [{\n    id: 'node1',\n    x: 100,\n    y: 200\n  },{\n    id: 'node2',\n    x: 300,\n    y: 200\n  }],\n  edges: [{\n    target: 'node2',\n    source: 'node1'\n  }]\n};\nconst graph = new G6.Graph({\n  container: 'mountNode',\n  width: 500,\n  height: 500,\n  nodeStyle: {\n    default: {\n      fill: '#40a9ff',\n      stroke: '#096dd9'\n    }\n  },\n  edgeStyle: {\n    default: { stroke: '#A3B1BF' }\n  }\n});\ngraph.read(data);\n```\n\n## Development\n\n```bash\n$ npm install\n\n# run test case\n$ npm run test-live\n\n# build watching file changes and run demos\n$ npm run dev\n```\n\n## How to Contribute\n\nPlease let us know how can we help. Do check out [issues](https://github.com/antvis/g6/issues) for bug reports or suggestions first.\n\nTo become a contributor, please follow our [contributing guide](https://github.com/antvis/g6/blob/master/CONTRIBUTING.md).\n\n## License\n\n[MIT license](./LICENSE).\n","engines":{"node":">=8.9.0"},"gitHead":"311cbd4f44949467c40f0bf6a0662bb7c8c39863","scripts":{"ci":"npm run lint && npm run test","dev":"npm run watch & npm run demos-web","dist":"npm run mkdir-dist && npm run build && npm run compress","lint":"eslint --ext .js ./","test":"torch --compile --renderer --opts test/mocha.opts --recursive ./test/unit","build":"webpack","demos":"electron ./demos/app.js","start":"npm run dev","watch":"webpack --config webpack-dev.config.js","update":"rm -rf node_modules/ && tnpm i && rm -rf build && tnpm run build","win-dev":"node ./bin/win-dev.js","coverage":"npm run coverage-generator && npm run coverage-viewer","lint-fix":"eslint --ext .html,.js --fix ./","test-all":"npm run test && npm run test-bugs","build-lib":"babel src --out-dir lib","demos-web":"node ./demos/app.js --web --port 2046","test-bugs":"torch --compile --renderer --recursive ./test/bugs","test-live":"torch --compile --interactive --watch --opts test/mocha.opts --recursive ./test/unit","mkdir-dist":"node ./bin/mkdir-dist.js","screenshot":"node ./bin/screenshot.js","prepublishOnly":"npm run build-lib && npm run build","test-bugs-live":"torch --compile --interactive --watch --recursive ./test/bugs","coverage-viewer":"torch-coverage","coverage-generator":"torch --compile --coverage --renderer --recursive --source-pattern index.js,src/**/*.js test/unit/"},"_npmUser":{"name":"elaine.q.10","email":"yilin.qyl@antfin.com"},"pre-commit":{"run":["lint","test-all"],"silent":false},"repository":{"url":"git+ssh://git@github.com/antvis/g6.git","type":"git"},"_npmVersion":"6.4.0","description":"graph visualization frame work","directories":{},"_nodeVersion":"8.11.2","dependencies":{"@antv/g":"~3.4.3","@antv/util":"~1.3.1","@antv/hierarchy":"~0.4.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"chai":"~4.1.2","home":"~1.0.1","open":"~0.0.5","debug":"~3.1.0","jszip":"~3.1.5","eslint":"~3.19.0","jquery":"^3.3.1","svgson":"^2.1.1","connect":"~3.6.6","shelljs":"~0.7.8","torchjs":"~2.1.0","webpack":"~4.10.2","d3-queue":"~3.0.7","electron":"~2.0.2","get-port":"~3.2.0","nunjucks":"~3.0.1","parseurl":"~1.3.2","clipboard":"^1.5.15","commander":"~2.12.2","nightmare":"~2.10.0","radixsort":"~1.0.0","uglify-js":"~3.1.10","@babel/cli":"^7.0.0","codemirror":"*","pre-commit":"~1.2.2","@babel/core":"^7.0.0","body-parser":"~1.18.2","chai-almost":"^1.0.1","webpack-cli":"~3.0.0","babel-eslint":"~8.0.3","babel-loader":"^8.0.0","serve-static":"~1.13.2","worker-loader":"^2.0.0","event-simulate":"~1.0.0","@antv/hierarchy":"~0.4.0","@babel/preset-env":"^7.0.0","eslint-config-egg":"~4.2.0","eslint-plugin-html":"~3.1.1","eslint-plugin-react":"~7.1.0","eslint-config-airbnb":"~15.0.1","eslint-plugin-jsx-a11y":"~5.1.1","hard-source-webpack-plugin":"~0.13.1","babel-plugin-module-resolver":"^3.1.1","babel-plugin-transform-remove-strict-mode":"~0.0.2"},"_npmOperationalInternal":{"tmp":"tmp/g6_3.0.4-beta.1_1556350253456_0.9208759302726557","host":"s3://npm-registry-packages"},"publish_time":1556350253793,"_cnpm_publish_time":1556350253793,"dist-tags":{"beta":"5.1.0-beta.1","latest":"5.1.1"}}