Skip to content

Developer Tools

We provide a plugin for inspecting page elements to help developers more easily develop applications.

Installation

image

Usage

First, initialize in your project code:

// init window hook
window.__x6_instances__ = []

const graph = new Graph({ ...blablabla })

window.__x6_instances__.push(graph)

Then you can see the AntV X6 section in the developer panel.

image

Here, we can inspect the graph object and the elements within the graph:

image

It also supports modifying element properties:

image

© Copyright 2026 Ant Group Co., Ltd..备案号:京ICP备15032932号-38
Site search
Documentation and examplesType to start searching

Search documentation, APIs, and examples

↑↓Select↵OpenEscClose