{"name":"@antv/g6","version":"3.0.5-beta.6","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.5-beta.6","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":"6956be132cc28de5d16ee727b44148e6e9e7a856","tarball":"http://registry-npm.ywwl.com/@antv/g6/download/@antv/g6-3.0.5-beta.6.tgz","fileCount":103,"integrity":"sha512-8FXaMuJJ4C9c0UAwp6WRupQmOi8TbKy8jthHKghftZzXhunPwtd71egk3UYTsjWxink8bESY3hx21MFy9LExEw==","signatures":[{"sig":"MEUCIGnNVqcwYfimY48bVs7K+P94sPJL+TmMzbtzB+2mHROfAiEA1LQ5ld7PFYfh3gJRoABjCzVqJgSek4JnirIj7ocH8ks=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":867454,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc/fQzCRA9TVsSAnZWagAAYQ0P/Azcg8zMDfgmj/jE+5kx\nmy/Xi6kjhkV46gGcGDzns3w6ZnqhTG2GmFpTaQvDyGlGFwmwZJG0KNcqOPzw\nqE80szxY2TSkwzAnsE+O/Cfo5OUjLGL2E/PkHfWEU2mpjysHWa8twY57JmfG\nmPb3DM2UlYZz5gs7cCkiErjOH7Q7l7rCp82fkXcwFxWdSGi0Ta2Y1H0YcIcR\noXdXjuXYQMclcKtyiyrvrYtIQf+J3OiNW6wBV3x2XHBk1G8X7cNv4ze1jfxZ\nP7hzR2yt1jWNJUW/aJmXwjbiv5uXATYnMMd0V1N1wr+LMvOJgdxtIO6Sp5X6\nibBoCZ4bD5AhIG0KviQ17H9qoAvV+bY0wUMK8NrySOltp0t1O4dLvvWGDk3Y\nW0M4ah0HFFHUwO0q4zLxdQSMSz9aHbHSUTeT9niwf1INWkB/fTEbjVz1eyvI\nXSEESFh6beW8sXwQ4O8X3YcKgLqkhGNBasFI4cIeXKfj0CcW2SgiJAcJOtnd\ngmLAd2C3TPZgmh4nrnFiCx8YQMIMRPwIuHVrryNNOe6aC1MGjf6mJRB9Yywp\nS6j2wc+q3CPRl5b99JrDHQLvMyho9b0VdmWmcQUbzzSN34dVoSOV7Oz8GAns\nEr7r8Z38FhQLlsriWMPjbWCIqSsVf4bdG89NUVl59xosoBFWYdTW4Ocn7Xj2\nYlR4\r\n=h2OK\r\n-----END PGP SIGNATURE-----\r\n","size":234991,"noattachment":false,"key":"/@antv/g6/-/@antv/g6-3.0.5-beta.6.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":"be01b70aba04672da8960db5dc16fb44d68fa6bf","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.5","@antv/util":"~1.3.1","@antv/hierarchy":"~0.5.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.5-beta.6_1560146995028_0.9097582535498481","host":"s3://npm-registry-packages"},"publish_time":1560146995172,"_cnpm_publish_time":1560146995172,"dist-tags":{"beta":"5.1.0-beta.1","latest":"5.1.1"}}