G6Lite graph examples

Graph examples

Browse live graph visualization examples by capability. Inspect real output, source, and data to understand each public API.

51website examples
8capability groups
01

Getting started

Start with the smallest Graph configuration and learn data, layout, and canvas navigation.

2
02

Data and state

Explore data mutations, element queries, adjacency, states, and visibility.

4
03

Elements

Configure nodes, edges, labels, arrows, parallel edges, and combos.

14
04

Layouts

Compare common layouts and switch graph structure presentations at runtime.

9
05

Interactions

Combine tooltips, click selection, brush selection, lasso selection, and highlighting.

8
06

Viewport

Control zoom, focus, fit, canvas sizing, and coordinate conversion.

2
07

Extensions

Customize nodes, edges, layouts, behaviors, and plugins through public extension APIs.

7
08

Scenarios and performance

Validate rendering and interaction with realistic, large relationship networks.

5