Skip to content

antvis/G6VP

Repository files navigation

Version NPM downloads Latest commit

English | 简体中文

G6VP takes its name from AntV G6 Visualization Platform and was formerly known as AntV/GraphInsight. It is an online visual analysis tool for graphs and a low-code tool for building graph applications.

image.png

01 Quick Start

1.1 Create a Dataset

Before analyzing data, we need to create a dataset. The dataset can be a local JSON, CSV, XLSX file, or a graph database, such as TuGraph, GraphScope, HugeGraph, Galaxybase,JanusGraph and Neo4j. It may also be a user-defined service, as shown below, where we choose a TuGraph database as the dataset. image.png

1.2 Create a Workbook

With the data, we can create an analysis canvas. When creating a canvas, we can choose different templates. The template may come from an asset package or it may be manually saved or selected from an asset inventory. image.png

1.3 Configure the Canvas

After entering the canvas, we can use the "Style" and "Layout" in the sidebar to map the visual representation of the canvas. At the same time, the entire canvas application, and the entire graph analysis capability, can be configured in the "Components" navigation panel. Components can be assembled like building blocks.

image.png

1.4 Remember to Save Timely

Remember to click the "Save" button in the upper right corner in a timely manner. This way, the configuration information of the canvas will be saved, and it can be analyzed directly next time.

image.png

1.5 Export SDK

For friends in need of development, you can click the "Export" button in the upper right corner of the canvas to export the source code of the canvas. Currently, HTML, CDN, and NPM export methods are supported, which facilitates developers to carry out secondary development and independent deployment.

image.png

1.6 Explore More Surprises

G6VP contains many amazing functions. You can go to "Open Market/Asset List" to see what other interesting analysis functions are available. For assets that interest you, you can also add them to the shopping cart. The selected asset list can also quickly generate an application template. The G6VP open source version currently contains 79 graph analysis assets, 3 graph element assets, and 9 graph layout assets. Welcome to provide valuable feedback

02. Develop G6VP

G6VP uses pnpm to manage the repository. According to pnpm's official compatibility statement, please use nvm to switch the Node.js version to 14 and above.

2.1 Install Dependencies

pnpm install // Will install all dependencies and run the subpackage products at once.

2.2 Start Insight Site

cd packages/gi-site
npm run start

For more development and build issues, please refer to《CONTRIBUTING》

03 Supported DataSource

04 More Reading

05 Open Source Graph Visualization Platform

06 Business Graph Analysis Software