{"name":"@antv/g6","version":"4.7.0-beta.2","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@4.7.0-beta.2","maintainers":[{"name":"laixingui.lxg","email":"laixingui.lxg@alibaba-inc.com"},{"name":"zhangjunjie-loki","email":"zhangjunjie0730@163.com"},{"name":"rainy25ghz","email":"1748420480@qq.com"},{"name":"zeyuwang","email":"zywangx@gmail.com"},{"name":"yanxiong","email":"496845051@qq.com"},{"name":"susiwen8","email":"susiwen8@gmail.com"},{"name":"freestyle21","email":"675861708@qq.com"},{"name":"soundquiet","email":"fulingsun515@gmail.com"},{"name":"elaine.q.10","email":"yilin.qyl@antfin.com"},{"name":"sturuby","email":"xingya.shi@gmail.com"},{"name":"lviser","email":"liuvigongzuoshi@gmail.com"},{"name":"sakuya223","email":"360965398@qq.com"},{"name":"serializedowen","email":"wjh199455@gmail.com"},{"name":"xdzhao","email":"zhaoxiaodong@zju.edu.cn"},{"name":"yangzhanmei","email":"15809244435@163.com"},{"name":"wjgogogo","email":"906626481@qq.com"},{"name":"leungwensen","email":"leungwensen@gmail.com"},{"name":"dori","email":"418466938@qq.com"},{"name":"iaaron","email":"943720372@qq.com"},{"name":"yard","email":"zjwengyidong@outlook.com"},{"name":"simaq","email":"sima.zhang1990@gmail.com"},{"name":"dxq613","email":"dxq613@gmail.com"},{"name":"intchous","email":"h.a.p.p.y.y.x.d@163.com"},{"name":"susan_ann","email":"lisuwe_n@163.com"},{"name":"jinke.li","email":"1359518268@qq.com"},{"name":"lzxue","email":"120635640@qq.com"},{"name":"army8735","email":"army8735@qq.com"},{"name":"atool","email":"i@hust.cc"},{"name":"baizn","email":"576375879@qq.com"},{"name":"dengfuping","email":"dengfuping_develop@163.com"},{"name":"neoddish","email":"neoddish@outlook.com"},{"name":"jeffy2012","email":"yuanjiefeng@gmail.com"},{"name":"zqlu","email":"zqlu.cn@gmail.com"},{"name":"afc163","email":"afc163@gmail.com"},{"name":"pomelo-nwu","email":"czynwu@gmail.com"},{"name":"kopiluwaky","email":"yanyanwang93@gmail.com"},{"name":"ccnuzindex","email":"ccnuzindex@gmail.com"},{"name":"panyuqi","email":"pyqiverson@gmail.com"},{"name":"bubkoo","email":"bubkoo.wy@gmail.com"},{"name":"zengyue","email":"yezengyue@gmail.com"},{"name":"kasmine","email":"736929286@qq.com"},{"name":"boyu.zlj","email":"boyu.zlj@antfin.com"},{"name":"l1ud0ngq1","email":"lliudongqi@gmail.com"},{"name":"newbyvector","email":"vectorse@126.com"},{"name":"winniexing","email":"wanyingxing@gmail.com"},{"name":"chenluli","email":"chenluuli@gmail.com"},{"name":"kn9117","email":"1175863618@qq.com"},{"name":"xdddst","email":"deng25st@163.com"},{"name":"semious2020","email":"semious@163.com"},{"name":"esora","email":"tygyh2012@gmail.com"},{"name":"nadia_liu","email":"1803275951@qq.com"},{"name":"bbsqq","email":"1491812683@qq.com"},{"name":"mxz96102","email":"mxz96102@qq.com"},{"name":"openwayne","email":"openwayne@gmail.com"},{"name":"pearmini","email":"subairui@icloud.com"},{"name":"pddpd","email":"pddpengdi@gmail.com"},{"name":"yiqianyao","email":"2912401452@qq.com"},{"name":"zhanba","email":"c5e1856@gmail.com"},{"name":"cxxxxxn","email":"christy05.chen@gmail.com"}],"homepage":"https://g6.antv.vision","bugs":{"url":"https://github.com/antvis/g6/issues"},"dist":{"shasum":"23cb34e61fb5af409eb3bb6d7de1b97533c0b002","tarball":"http://registry-npm.ywwl.com/@antv/g6/download/@antv/g6-4.7.0-beta.2.tgz","fileCount":9,"integrity":"sha512-SMz3lRFJbl3gSlGsKNUFGJ8OfCJbOuLdH3wZniwH2b+gyiwNu8pmy6M52Ij63fsN4NGLdvmyfwL67Q52wtJlbA==","signatures":[{"sig":"MEQCIGGyige34JAhojO6u5fPU1TSe6LM9lhXWSseuqhKXczCAiBSd4/J050h++uahlsOm3bk/5VkosdmdZppqIzgZ6DYNQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6725217,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi87PYACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrJhxAAouDpOMhdPyoNWNUO5K9IKxBDxhAZJPHXjiZhczoQaJ1W1Tlx\r\n26KTvn5u5MctQ/GA5RYKZpn3U5FO6+L48mFeVAUDJDZhR0V40OFTcbVwDC8m\r\nTbzcH4xFLu9TET7ZA4H+ll25psH9hylmTvYTmXvXtQkeiEjgJdOnumciInqj\r\nyr5tsk6JT/6bOy+53xpY3bRXNuVmgcoujwDq8GS/xofIvpmprGBFwROEvsVF\r\n6nyW65kDhpXqRnLOKqf/+OeoVoobnMEGiZPVAND9F8hlyTkiwJmZAgKuTKfb\r\njpKe1FTCGD6suu5m1vxN8CpO8NL89X0qKPDkGRrexB+sxX7IDFipjOWXk4Pw\r\nFPOo8kHBpTBOJk0fxPdtTY4h1Ro2A5ggTmdKNXlUc3b+6+4/TW9bxiMrD/IM\r\nLpsPGf46YMlPcMHqffsubYtCMQQ++eNf6PPMsfRkY2nHTPSNhbLg6q1VBOhN\r\nR7or/4s8iMIi4c1oC10XZgvc/J6jaT56bDRwsz30EFGlJQII7ApjGJ3Q7QMZ\r\nbyeedwFGKfAnTp2Ram8x9nqVnwTmbgiy/ISq+I83t+pD2gRdxpqzcKJTy0/q\r\n4/iFOWeko0yDmBICoIEQaI5xl7soEd4cuK82c4Wo8c+JRSbVHnQpx18HxVdL\r\nJG4To98Jv6gaQiDU2jcXV056X+ZRl6ylvsM=\r\n=LVAe\r\n-----END PGP SIGNATURE-----\r\n","size":1709927,"noattachment":false,"key":"/@antv/g6/-/@antv/g6-4.7.0-beta.2.tgz"},"main":"lib/index.js","husky":{"hooks":{"pre-commit":"lint-staged"}},"types":"lib/index.d.ts","unpkg":"dist/g6.min.js","module":"es/index.js","readme":"# G6: A Graph Visualization Framework in TypeScript\n\n![](https://user-images.githubusercontent.com/6113694/45008751-ea465300-b036-11e8-8e2a-166cbb338ce2.png)\n\n[![travis-ci](https://img.shields.io/travis/antvis/g6/master.svg)](https://travis-ci.org/antvis/g6) [![codecov](https://codecov.io/gh/antvis/G6/branch/master/graph/badge.svg)](https://codecov.io/gh/antvis/G6) ![typescript](https://img.shields.io/badge/language-typescript-red.svg) ![MIT](https://img.shields.io/badge/license-MIT-000000.svg) [![npm package](https://img.shields.io/npm/v/@antv/g6.svg)](https://www.npmjs.com/package/@antv/g6) [![NPM downloads](http://img.shields.io/npm/dm/@antv/g6.svg)](https://npmjs.org/package/@antv/g6) [![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.md)\n\n## What is G6\n\n[G6](https://github.com/antvis/g6) is a graph visualization engine, which provides a set of basic mechanisms, including rendering, layout, analysis, interaction, animation, and other auxiliary tools. G6 aims to simplify the relationships, and help people to obtain the insight of relational data.\n\n<img src='https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*zTjwQaXokeQAAAAAAAAAAABkARQnAQ' width=550 alt='' />\n\nDevelopers are able to build graph visualization **analysis** applications or graph visualization **modeling** applications easily.\n\n<img src='https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*zau8QJcVpDQAAAAAAAAAAABkARQnAQ' height=200 alt='' /><img src='https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*RIlETY_S6IoAAAAAAAAAAABkARQnAQ' height=200 alt='' />\n\n<img src='https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*cDzXR4jIWr8AAAAAAAAAAABkARQnAQ' height=150 alt='' /><img src='https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*DifbSahOblAAAAAAAAAAAABkARQnAQ' height=150 alt='' /><img src='https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*HTasSJGC4koAAAAAAAAAAABkARQnAQ' height=150 alt='' />\n\n> Powerful Animation and Interactions\n\n<img src=\"https://user-images.githubusercontent.com/6113694/44995293-02858600-afd5-11e8-840c-349e4730d63d.gif\" height=150 alt='' /><img src=\"https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*I9OdTbXJIi0AAAAAAAAAAABkARQnAQ\" height=150 alt='' /><img src=\"https://user-images.githubusercontent.com/6113694/44995332-2ba61680-afd5-11e8-8cab-db0e9d08ceb7.gif\" height=150 alt='' />\n\n<img src=\"https://gw.alipayobjects.com/zos/rmsportal/HQxYguinFOMIXrGQOABY.gif\" height=150 alt='' /><img src=\"https://gw.alipayobjects.com/zos/rmsportal/nAugyFgrbrUWPmDIDiQm.gif\" height=150 alt='' /><img src=\"https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*xoufSYcjK2AAAAAAAAAAAABkARQnAQ\" height=150 alt='' />\n\n> Powerful Layouts\n\n## Features\n\n- Abundant Built-in Items: Nodes and edges with free configurations;\n- Steerable Interactions: More than 10 basic interaction behaviors ;\n- Powerful Layout: More than 10 layout algorithms;\n- Convenient Components: Outstanding ability and performance;\n- Friendly User Experience: Complete documents for different levels of user requirements. TypeScript supported.\n\nG6 concentrates on the principle of 'good by default'. In addition, the custom mechanism of the item, interation behavior, and layout satisfies the customazation requirements.\n\n<img src='https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*Y0c6S7cxjVkAAAAAAAAAAABkARQnAQ' width=800 height=200 alt='' />\n\n> Abundant Built-in Items\n\n## Installation\n\n```bash\n$ npm install @antv/g6\n```\n\n## Usage\n\n<img src=\"https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*khbvSrptr0kAAAAAAAAAAABkARQnAQ\" width=437 height=148 alt='' />\n\n```js\nimport G6 from '@antv/g6';\n\nconst data = {\n  nodes: [\n    {\n      id: 'node1',\n      label: 'Circle1',\n      x: 150,\n      y: 150,\n    },\n    {\n      id: 'node2',\n      label: 'Circle2',\n      x: 400,\n      y: 150,\n    },\n  ],\n  edges: [\n    {\n      source: 'node1',\n      target: 'node2',\n    },\n  ],\n};\n\nconst graph = new G6.Graph({\n  container: 'container',\n  width: 500,\n  height: 500,\n  defaultNode: {\n    type: 'circle',\n    size: [100],\n    color: '#5B8FF9',\n    style: {\n      fill: '#9EC9FF',\n      lineWidth: 3,\n    },\n    labelCfg: {\n      style: {\n        fill: '#fff',\n        fontSize: 20,\n      },\n    },\n  },\n  defaultEdge: {\n    style: {\n      stroke: '#e2e2e2',\n    },\n  },\n});\n\ngraph.data(data);\ngraph.render();\n```\n\n[![Edit compassionate-lalande-5lxm7](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/compassionate-lalande-5lxm7?fontsize=14&hidenavigation=1&theme=dark)\n\nFor more information of the usage, please refer to [Getting Started](https://antv-g6.gitee.io/en/docs/manual/getting-started).\n\n## Development\n\n```bash\n$ npm install\n\n# lerna bootstrap for multiple packages\n$ npm run bootstrap\n\n# build the packages\n$ npm run build:all\n\n# if you wanna watch one of the packages, e.g. packages/core\n$ cd ./packages/core\n$ npm run watch\n\n# run test case\n$ npm test\n\n# run test case in watch mode\nnpm test -- --watch ./tests/unit/algorithm/find-path-spec\nDEBUG_MODE=1 npm test -- --watch ./tests/unit/algorithm/find-path-spec\n```\n\n## Documents\n\n- <a href='https://g6.antv.vision/en/docs/manual/tutorial/preface' target='_blank'>Tutorial</a>\n- <a href='https://g6.antv.vision/en/docs/manual/middle/overview' target='_blank'>Middle Guides</a>\n- <a href='https://g6.antv.vision/en/docs/manual/advanced/coordinate-system' target='_blank'>Further Reading</a>\n- <a href='https://g6.antv.vision/en/docs/api/Graph' target='_blank'>API Reference</a>\n\n## React project integration\n\nFor React project integration, we have an independent product recommendation: [Graphin](https://graphin.antv.vision), which is a toolkit based on G6 and React, that focuses on relational visual analysis. It's simple, efficient, out of the box.\n\nAt present, Graphin has good practices in business graph analysis projects. For details, see [《Who uses Graphin》](https://github.com/antvis/Graphin/issues/212)\n\n## G6 Communication Group\n\nWelcome to join the **G6 Communication Group** or **G6 Communication Group-2** (DingTalk groups). We also welcome the github issues.\n\n<p>\n  <a href=\"https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*-RO_R7SCvroAAAAAAAAAAAAAARQnAQ\" >\n    <img src='https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*-RO_R7SCvroAAAAAAAAAAAAAARQnAQ' style='width:250px;display:inline-block;vertical-align:top;' alt='' />\n  </a>\n  <a href=\"https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*hzfaSrAj0jkAAAAAAAAAAABkARQnAQ\" >\n    <img src='https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*hzfaSrAj0jkAAAAAAAAAAABkARQnAQ' style='width:250px;display:inline-block;vertical-align:top;' alt='' />\n  </a>\n  <a href=\"https://graphin.antv.vision/\" >\n   <img src='https://camo.githubusercontent.com/5e6624abcdde991f9fd89fce4933ad133a48d8fb603d1852c670da329df73ef7/68747470733a2f2f67772e616c697061796f626a656374732e636f6d2f6d646e2f726d735f3430326331612f616674732f696d672f412a2d717a6f54704c672d3163414141414141414141414141414152516e4151' style='width:250px;display:inline-block;vertical-align: top;' alt='' />\n  </a>\n</p>\n## How to Contribute\n\nPlease let us know what you are you going to help. Do check out [issues](https://github.com/antvis/g6/issues) for bug reports or suggestions first.\n\n## License\n\n[MIT license](./LICENSE).\n","gitHead":"95816b10a166e62fd7eb7fd58c0f38642de3f4e1","scripts":{"ci":"npm run build && npm run coverage","cdn":"antv-bin upload -n @antv/g6","doc":"rimraf apis && typedoc","lint":"eslint --ext .js,.jsx,.ts,.tsx --format=pretty \"./\"","test":"jest --passWithNoTests","build":"npm run clean && father build && npm run build:umd","clean":"rimraf es esm lib dist","demos":"start-storybook -p 8080 -c .storybook","start":"father build --watch","watch":"father build -w","coverage":"jest --coverage","lint:src":"eslint --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/graph/graph-watermarker-spec.ts","lint-staged:js":"eslint --ext .js,.jsx,.ts,.tsx"},"_npmUser":{"name":"kopiluwaky","email":"yanyanwang93@gmail.com"},"repository":{"url":"git+https://github.com/antvis/g6.git","type":"git"},"_npmVersion":"8.5.2","description":"A Graph Visualization Framework in JavaScript","directories":{},"lint-staged":{"**/*.{less,md,json}":["prettier --write"],"**/*.{js,jsx,ts,tsx}":["npm run lint-staged:js","prettier --write"]},"_nodeVersion":"17.7.1","dependencies":{"@antv/g6-pc":"0.7.0-beta.2"},"_hasShrinkwrap":false,"readmeFilename":"README.en-US.md","devDependencies":{"husky":"^4.2.5","eslint":"^7.7.0","father":"^2.29.1","rimraf":"^3.0.0","webpack":"^4.41.4","prettier":"^2.0.5","ts-loader":"^7.0.3","@turf/turf":"^5.1.6","pre-commit":"^1.2.2","typescript":"^4.6.3","@babel/core":"^7.7.7","@types/jest":"^25.2.1","@types/node":"13.11.1","lint-staged":"^10.2.11","webpack-cli":"^3.3.10","babel-loader":"^8.0.6","@umijs/fabric":"^2.0.0","event-simulate":"~1.0.0","@typescript-eslint/eslint-plugin":"^4.11.1","@babel/plugin-proposal-class-properties":"^7.1.0"},"_npmOperationalInternal":{"tmp":"tmp/g6_4.7.0-beta.2_1660138456067_0.04474218866824198","host":"s3://npm-registry-packages"},"publish_time":1660138456317,"_cnpm_publish_time":1660138456317,"dist-tags":{"beta":"5.1.0-beta.1","latest":"5.1.1"}}