--- title: Introduction order: 0 redirect_from: - /en/docs/manual --- g6 banner [![](https://img.shields.io/travis/antvis/g6.svg)](https://travis-ci.org/antvis/g6) [![Coverage Status](https://coveralls.io/repos/github/antvis/G6/badge.svg)](https://coveralls.io/github/antvis/G6) ![](https://img.shields.io/badge/language-javascript-red.svg) ![](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') [中文简介](/zh/docs/manual/introduction/) ## What is G6 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 complex relationships, and help people to obtain the insight of relational data. Developers are able to build graph visualization **analysis** applications or graph visualization **modeling** applications easily. > Powerful Layouts > Powerful Animation and Interactions ## Features - Excellent Perforamnce: Supports large graph visualization and interactive exploration; - Abundant Built-in Items: Nodes and edges with free configurations; - Steerable Interactions: More than 10 basic interaction behaviors ; - Powerful Layouts: More than 10 layout algorithms; - Convenient Components: Outstanding abilities and performance; - Friendly User Experience: Complete documents for different levels of requirements. TypeScript supported. G6 concentrates on the principle of 'good by default'. In addition, the custom mechanism of the item, interation behavior, and layout satisfies the customization requirements. > Abundant Built-in Items ## Installation ```bash $ npm install @antv/g6 ``` ## Usage ```javascript // The source data const data = { // The array of nodes nodes: [ { id: 'node1', x: 100, y: 200, }, { id: 'node2', x: 300, y: 200, }, ], // The array of edges edges: [ // An edge links from node1 to node2 { source: 'node1', target: 'node2', }, ], }; // Instantiate the Graph const graph = new G6.Graph({ container: 'mountNode', // The container id or HTML node of the graph canvas. // The width and the height of graph canvas width: 800, height: 500, }); // Load the data graph.data(data); // Render the graph graph.render(); ``` [![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) For more information about the usage, please refer to [Getting Started](/en/docs/manual/getting-started). ## Documents - [Tutorial](/en/docs/manual/tutorial/preface) - [Key Concepts](/en/docs/manual/middle/graph) - [Advanced Guides](/en/docs/manual/advanced/keyconcept/shape-and-properties) - [API Reference](/en/docs/api/Graph) ## Links Some implementations combined with front-end libraries from the third party: - Flow visualization editor powered by G6 and React - Workflow Designer; - Visualization editor powered by G6 and Vue; - Visualization and graphics editor powered by G6 and Vue - A visual graph editor based on G6 and Vue. ## G6 Communication Group Users are welcome to join the **G6 Communication Group** or **G6 Communication Group-2** (It is a DingTalk group). We are also welcome the github issues. ## How to Contribute Please let us know what you are you going to help. Do check out issues for bug reports or suggestions first. To become a contributor, please follow our Contributing Guide. ## License MIT license.