{"name":"@antv/g6","version":"3.3.0-beta.6","keywords":["antv","g6","graph","graph analysis","graph editor","graph visualization","relational data"],"author":{"name":"https://github.com/orgs/antvis/people"},"license":"MIT","_id":"@antv/g6@3.3.0-beta.6","maintainers":[{"name":"afc163","email":"afc163@gmail.com"},{"name":"army8735","email":"army8735@qq.com"},{"name":"atool","email":"i@hust.cc"},{"name":"baizn","email":"576375879@qq.com"},{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},{"name":"ccnuzindex","email":"ccnuzindex@gmail.com"},{"name":"dengfuping","email":"dengfuping_develop@163.com"},{"name":"dori","email":"418466938@qq.com"},{"name":"dxq613","email":"dxq613@gmail.com"},{"name":"elaine.q.10","email":"yilin.qyl@antfin.com"},{"name":"jeffy2012","email":"yuanjiefeng@gmail.com"},{"name":"kasmine","email":"xinming002@gmail.com"},{"name":"kopiluwaky","email":"wyy460342010@gmail.com"},{"name":"leungwensen","email":"leungwensen@gmail.com"},{"name":"lzxue","email":"120635640@qq.com"},{"name":"neoddish","email":"neo.wang@vip.163.com"},{"name":"panyuqi","email":"pyqiverson@gmail.com"},{"name":"pomelo-nwu","email":"czynwu@gmail.com"},{"name":"sakuya223","email":"360965398@qq.com"},{"name":"simaq","email":"sima.zhang1990@gmail.com"},{"name":"yanyan-wang","email":"yanyanwang93@gmail.com"},{"name":"zengyue","email":"yezengyue@gmail.com"},{"name":"zqlu","email":"zqlu.cn@gmail.com"}],"homepage":"https://github.com/antvis/g6","bugs":{"url":"https://github.com/antvis/g6/issues"},"dist":{"shasum":"b4ec4826f6cc496b3e4523d149715ab2760728dd","tarball":"http://registry-npm.ywwl.com/@antv/g6/download/@antv/g6-3.3.0-beta.6.tgz","fileCount":331,"integrity":"sha512-7Weqas7vftAUANan2m/pHCdYVYWRWpJqxzXiXkLT5ve2FhgkkeIbpb5NnUR0pUq/v7M7efs9KtedpYSupwEQXw==","signatures":[{"sig":"MEUCIQCzIO3+0h2lLHrY+uTRZ1AdA8nbY5YU8L5RkIZUBXQ3KQIgYBVCYUy7SRAXsJsWyikh5+FaLlkJyOVC1Rp2GulW7R8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6340456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJePSqgCRA9TVsSAnZWagAA390P/RLylUL39L2q2RsoR/FQ\n8L01eI1R5gONkdvQPBZxc3etCbPeKyF+xCELAAIlsWT9heUZmZZ89f79RQI2\nkEFp3AZwiATo3u3ODrj6zODFYG8n5aLUdc6bJRHaMoCb29599D6lBX6LTCXM\nmjCAA54P/A5nSmZPTk5FjkbQZME4i4zE+HOlSUuZ+GvmdyfN1oaul7XARr2n\n2fZtxtq1thfwUf+I4xEuuI2GZr39ihiwiZZeTpop9Ct/vITLLKofuEYZUlTi\n87V/gnuU0HcrCBadPKPqzQXPzVbswIPwzj4VMD+aD9Vt/V3KqzgQeQvck6WI\n1Z9oGmqcCS6hdbqSan2iIO7rSHc1HqkLTy9PE9nqq6NEaJ5o1t375IVBvzW4\nN1kGBA6iXutoG+Mqc+Qrajm05LRXrs/p9uggy5+qmsYeG/qIeT7kg9wlTSD1\n1I8KHB/Blret4wqvODk04Rktfq+hzi2Ff5OewcvM9+d8yzz8sRe7xYcaRSoo\njKcGWa/w3wdjT4HNo1ODPg2j1j7+T9U/z7KIyMgpyY25Av7cpycf7Duepa2g\nePBmzXKZIqh/Sr8jYGmMWOnWjdn2Arwn8gftn+0AxQHzRYYCkkmLq2LoJxpn\n1tEccXEubJoihzrfLIP0As6WpQXkMblsM5s/Lari3eytSYSGZjQjREHD87se\nQvLm\r\n=lVzB\r\n-----END PGP SIGNATURE-----\r\n","size":1596834,"noattachment":false,"key":"/@antv/g6/-/@antv/g6-3.3.0-beta.6.tgz"},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"npm run lint"}},"types":"lib/index.d.ts","module":"es/index.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, including rendering, layout, interaction, animation, analysis, and other auxiliary tools. Developers are able to build graph visualization **analysis** applications or graph visualization **modeling** applications 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## Installation\n\n```bash\n$ npm install @antv/g6\n```\n\n## Usage\n\n<img src=\"https://gw.alipayobjects.com/zos/rmsportal/qSUOQUhnRrHCLvEjhZGP.png\" />\n\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  defaultNode: {\n    type: 'circle',\n    style: {\n      fill: '#40a9ff',\n      stroke: '#096dd9'\n    }\n  },\n  nodeStateStyles: {\n    hover: {\n      lineWidth: 3\n    },\n    select: {\n      lineWidth: 5\n    }\n  }\n});\ngraph.data(data);\ngraph.render();\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","browser":"dist/g6.min.js","gitHead":"c28ec797892a68f432cd0c08919a9dcb05bf675e","scripts":{"ci":"npm run build && npm run coverage","cdn":"antv-bin upload -n @antv/g6","doc":"rimraf apis && typedoc","lint":"eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty  \"./\"","test":"jest","build":"npm run clean && father build && npm run build:umd","clean":"rimraf es esm lib dist","demos":"start-storybook -p 8080 -c .storybook","start":"npm run site:develop","watch":"father build -w","coverage":"jest --coverage","lint:src":"eslint --cache --ext .ts --format=pretty  \"./src\"","prettier":"prettier -c --write \"**/*\"","build:umd":"webpack --config webpack.config.js --mode production","test-live":"DEBUG_MODE=1 jest --watch  ./tests/unit/layout/web-worker-spec.ts","site:build":"npm run site:clean && GATSBY=true gatsby build --prefix-paths","site:clean":"gatsby clean","site:develop":"GATSBY=true gatsby develop --open","lint-staged:js":"eslint --ext .js,.jsx,.ts,.tsx"},"_npmUser":{"name":"kopiluwaky","email":"wyy460342010@gmail.com"},"repository":{"url":"git+https://github.com/antvis/g6.git","type":"git"},"_npmVersion":"6.9.0","description":"A Graph Visualization Framework in JavaScript","directories":{},"lint-staged":{"**/*.{js,jsx}":"npm run lint-staged:js","**/*.{js,ts,tsx}":"npm run lint-staged:js","**/*.{js,jsx,tsx,ts,less,md,json}":["prettier --write","git add"]},"_nodeVersion":"10.16.0","dependencies":{"dagre":"^0.8.5","lodash":"^4.17.15","d3-force":"^2.0.1","numericjs":"^1.2.6","@antv/util":"~2.0.5","@antv/scale":"^0.2.0","@antv/g-base":"^0.3.5","@antv/dom-util":"^2.0.1","@antv/g-canvas":"^0.3.12","@antv/hierarchy":"^0.6.1","@antv/path-util":"^2.0.3","@antv/matrix-util":"^2.0.4","@antv/event-emitter":"~0.1.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"jest":"^24.9.0","husky":"^3.0.4","react":"^16.12.0","father":"^2.29.1","gatsby":"^2.17.9","rimraf":"^3.0.0","ts-jest":"^24.1.0","typedoc":"^0.15.0","webpack":"^4.41.4","gh-pages":"^2.1.1","prettier":"^1.18.2","react-dom":"^16.12.0","ts-loader":"^6.2.1","insert-css":"^2.0.0","pre-commit":"^1.2.2","typescript":"^3.5.3","@babel/core":"^7.7.7","@types/jest":"^24.0.18","@types/node":"^12.12.22","lint-staged":"^9.2.3","ttypescript":"^1.5.8","webpack-cli":"^3.3.10","babel-loader":"^8.0.6","@umijs/fabric":"^2.0.0","jest-electron":"^0.1.7","jest-extended":"^0.11.2","react-i18next":"^11.1.0","worker-loader":"^2.0.0","event-simulate":"~1.0.0","@storybook/react":"^5.2.8","@babel/preset-react":"^7.7.4","@storybook/addon-info":"^5.2.8","@storybook/addon-knobs":"^5.2.8","@antv/gatsby-theme-antv":"^0.9.25","typedoc-plugin-markdown":"^2.2.11","@storybook/addon-actions":"^5.2.8","awesome-typescript-loader":"^5.2.1","rollup-plugin-web-worker-loader":"^0.8.1"},"_npmOperationalInternal":{"tmp":"tmp/g6_3.3.0-beta.6_1581066912287_0.848965368888571","host":"s3://npm-registry-packages"},"publish_time":1581066912519,"_cnpm_publish_time":1581066912519,"dist-tags":{"beta":"5.1.0-beta.1","latest":"5.1.1"}}