Merge pull request #4910 from antvis/v5-shortcuts-refine

fix: shortcuts-call behavior export
This commit is contained in:
Yanyan Wang 2023-09-01 17:24:00 +08:00 committed by GitHub
commit 660773c097
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 1102 additions and 2257 deletions

View File

@ -74,13 +74,11 @@
"@antv/gui": "0.5.1-alpha.1",
"@antv/hierarchy": "latest",
"@antv/layout": "^1.2.9",
"@antv/hierarchy": "latest",
"@antv/layout-gpu": "^1.1.5",
"@antv/layout-wasm": "1.3.1",
"@antv/matrix-util": "^3.0.4",
"@antv/util": "~2.0.5",
"@antv/path-util": "3.0.1",
"@antv/util": "^3.3.1",
"color": "^4.2.3",
"insert-css": "^2.0.0",
"stats-js": "^1.0.1",

View File

@ -1,5 +1,5 @@
import { ShapeStyle } from '../types/item';
import type { StandardPadding } from 'types/common';
import { ShapeStyle } from '../types/item';
export const RESERVED_SHAPE_IDS = [
'keyShape',

View File

@ -13,3 +13,4 @@ export * from './orbit-canvas-3d';
export * from './rotate-canvas-3d';
export * from './track-canvas-3d';
export * from './zoom-canvas-3d';
export * from './shortcuts-call';

View File

@ -4,7 +4,7 @@ import { Behavior } from '../../types/behavior';
const DEFAULT_TRIGGER = 'ctrl';
const ALLOW_TRIGGERS = ['shift', 'ctrl', 'alt', 'control'] as const;
const DEFAULT_COMBINED_KEY = '1';
type Trigger = typeof ALLOW_TRIGGERS[number];
type Trigger = (typeof ALLOW_TRIGGERS)[number];
interface ShortcutsCallOptions {
/**
@ -37,7 +37,7 @@ const DEFAULT_OPTIONS: ShortcutsCallOptions = {
functionParams: [],
};
export default class ShortcutsCall extends Behavior {
export class ShortcutsCall extends Behavior {
triggerKeydown = false;
constructor(options: Partial<ShortcutsCallOptions>) {

View File

@ -115,7 +115,6 @@ const stdLib = {
...Hierarchy,
},
behaviors: {
'drag-canvas': DragCanvas,
'zoom-canvas': ZoomCanvas,
'drag-node': DragNode,

View File

@ -42,6 +42,7 @@ export interface IG6GraphEvent
currentTarget: IGraph;
itemType: 'node' | 'edge' | 'combo' | 'canvas';
itemId: ID;
key?: string;
/** Original event emitted by G */
gEvent: Event;
}

View File

@ -1,5 +1,5 @@
import { createContext } from '../utils';
import { resetEntityCounter } from '@antv/g';
import { createContext } from '../utils';
import TimebarTime from '../../demo/plugins/timebar-time';
describe('Default Timebar', () => {

View File

@ -1,5 +1,5 @@
import { createContext } from '../utils';
import { resetEntityCounter } from '@antv/g';
import { createContext } from '../utils';
import TimebarTime from '../../demo/plugins/timebar-time';
describe('Default Timebar', () => {

View File

@ -154,7 +154,7 @@ export default defineConfig({
zh: '入门教程',
en: 'Tutorial',
},
order: 4,
order: 5,
},
// ===========Concepts===================
// {
@ -474,11 +474,11 @@ export default defineConfig({
en: 'News',
},
title: {
zh: '图可视分析与搭建平台 GraphInsight 开源',
en: 'GraphInsight is opened source!',
zh: 'G6 5.0-beta 闪亮登场',
en: 'G6 5.0-beta is released!',
},
date: '2022.11.22',
link: 'https://www.yuque.com/antv/blog/nyl5bkhdkicgm7v8',
date: '2023.08.31',
link: 'https://zhuanlan.zhihu.com/p/653709725?',
},
{
type: {
@ -486,11 +486,11 @@ export default defineConfig({
en: 'News',
},
title: {
zh: 'G6 5.0 插件机制与引擎性能蓄势待发',
en: 'G6 5.0: extension mechanism and better performance',
zh: '图可视分析与搭建平台 GraphInsight 开源',
en: 'GraphInsight is opened source!',
},
date: '2022.11.22',
link: 'https://www.yuque.com/antv/blog/fm6setn8p9m9lmh5',
link: 'https://www.yuque.com/antv/blog/nyl5bkhdkicgm7v8',
},
],
/** 首页特性介绍 */

View File

@ -0,0 +1,82 @@
---
title: 🎉 Beta Published
order: 2
---
Hi, dear users, let GPT bring you some good news:
Behold, we are thrilled to announce that AntV G6 5.0 Beta version is shining today! This is a data visualization feast that will explode your visual senses. It is professional and elegant, and it will definitely give you a satisfying experience!
## 🚀 High-performance Rendering & Computation
We have an high performance rendering technology! G6 5.0 Beta uses high-performance Canvas and WebGL rendering, combined with the coolness of WASM and GPU layout. No matter how large your data is, we can handle it with ease!
![image.png](https://cdn.nlark.com/yuque/0/2023/png/156681/1693493847569-84cd9080-7d7f-4a90-8eca-7a1608ab0502.png#averageHue=%23efd4b3&clientId=u7cb9a1fc-b79b-4&from=paste&height=645&id=uadc53f77&originHeight=645&originWidth=750&originalType=binary&ratio=1&rotation=0&showTitle=false&size=471657&status=done&style=none&taskId=u51ba6a25-d2e2-4561-8051-e1527b14448&title=&width=750)
Layout computation for thousands of nodes and edges is just a breeze!
![layout-wasm.gif](https://cdn.nlark.com/yuque/0/2023/gif/156681/1693493874300-970a6d88-ce83-4c4a-b3d3-99d2de63c011.gif#averageHue=%23fdfdfd&clientId=u7cb9a1fc-b79b-4&from=drop&id=u405db14a&originHeight=574&originWidth=800&originalType=binary&ratio=1&rotation=0&showTitle=false&size=552239&status=done&style=none&taskId=ud66748eb-ec21-42dd-b4ea-dea33bcd2ea&title=)
## 🌠 3D Large Graph
Hey, we can not only do ordinary 2D graph visualization! G6 5.0 Beta supports powerful 3D large graph capabilities, allowing you to fully explore complex and massive graph data! Zoom, pan, and interact smoothly, we dare you to challenge us!
![image.png](https://cdn.nlark.com/yuque/0/2023/png/156681/1693493894005-c040f2b7-43f6-41f6-8df8-db7211372874.png#averageHue=%23070605&clientId=u7cb9a1fc-b79b-4&from=paste&height=393&id=u4f5b4645&originHeight=393&originWidth=750&originalType=binary&ratio=1&rotation=0&showTitle=false&size=303217&status=done&style=none&taskId=u754603c8-ba4e-469c-82e8-0061d883fe2&title=&width=750)
## 🎞 Visual and Animation Specifications
Our designer friends have put a lot of effort into creating a complete set of visual and animation specifications for charts! From color palettes to graph arrangements, as long as you can imagine it, you can achieve it with a simple JSON Spec! Take your charts to new heights!
![image.png](https://cdn.nlark.com/yuque/0/2023/png/156681/1693493907099-bed88eb7-42ed-4771-b2a3-5bea600e66df.png#averageHue=%23fcfcfb&clientId=u7cb9a1fc-b79b-4&from=paste&height=254&id=ZqUb6&originHeight=254&originWidth=750&originalType=binary&ratio=1&rotation=0&showTitle=false&size=68032&status=done&style=none&taskId=u7aab75d8-e5f9-462f-a2a8-384e9d7b56a&title=&width=750)
Animations on item shapes and view ports:
![animation-7.gif](https://cdn.nlark.com/yuque/0/2023/gif/156681/1693493912336-ae2af550-f73e-4aa7-9de3-ac17d07b5507.gif#averageHue=%23fefefe&clientId=u7cb9a1fc-b79b-4&from=drop&id=u61fe8261&originHeight=341&originWidth=500&originalType=binary&ratio=1&rotation=0&showTitle=false&size=2100091&status=done&style=none&taskId=u84bfc655-cdc4-4a35-8120-bc20a12b3bd&title=)
Information layering, making large graphs less chaotic:
![lod.gif](https://cdn.nlark.com/yuque/0/2023/gif/156681/1693493920494-26e09e60-4ee3-49ad-b35a-602c6d9f92e6.gif#averageHue=%23fefefe&clientId=u7cb9a1fc-b79b-4&from=drop&id=ud775ba1d&originHeight=430&originWidth=600&originalType=binary&ratio=1&rotation=0&showTitle=false&size=2398130&status=done&style=none&taskId=u27146efb-4406-40c1-b6b4-cc56befac60&title=)
## 🎨 New Theme Mechanism
What kind of style do you want? With G6 5.0 Beta, it's all up to you! The new theme mechanism allows you to customize the style theme of your charts, whether it's consistent with your brand or pursuing unique individuality, we can meet your requirements!
![image.png](https://cdn.nlark.com/yuque/0/2023/png/156681/1693493931366-df92bed5-6fdf-498a-832c-2eb9d0522e3f.png#averageHue=%23d9decd&clientId=u7cb9a1fc-b79b-4&from=paste&height=520&id=u4dbc6929&originHeight=520&originWidth=750&originalType=binary&ratio=1&rotation=0&showTitle=false&size=484601&status=done&style=none&taskId=u3c33b452-a7eb-4959-b006-09e472ea038&title=&width=750)
## 🎄 Fusion of Tree Graph and Graph
It's time to integrate your graphs - normal graphs with tree graph layout and interaction? No problem! Forests? We can draw them too! Tree graph with rings? We can handle that too!
G6 5.0 Beta supports loading both graph data and tree graph data, providing universal interaction and layout capabilities. Whether it's network graph data or hierarchical tree structure data, we have a comprehensive solution for you!
![tree-graph.gif](https://cdn.nlark.com/yuque/0/2023/gif/156681/1693493949114-83a988ea-c03d-4c3f-a570-b60925624306.gif#averageHue=%23fefefe&clientId=u7cb9a1fc-b79b-4&from=drop&id=ue6848837&originHeight=574&originWidth=800&originalType=binary&ratio=1&rotation=0&showTitle=false&size=277928&status=done&style=none&taskId=ua029054c-079d-412f-986f-edb107b9325&title=)
## 🤖 Data Transformers
Don't worry about data transformations anymore. G6 5.0 Beta provides flexible data processor extensions, allowing you to freely handle data! Filtering, transforming, you can play with data in any way you want! Overwhelmed by the messy data from the backend? Need to convert v4 data format to v5 format with one click? No worries!
## ⛳️ All is Extensions
Wow! Extensions for everyone, everything is extensible! Customized implementation = Built-in implementation! You can add various novel interaction methods to your charts, making them full of creativity and visual impact! Your imagination is our limit!
## 📦 Package Size Optimization
Small package size, big capabilities, making it easy for your projects to perform at their best! We aim to provide you with the best performance and fastest loading speed!
![image.png](https://cdn.nlark.com/yuque/0/2023/png/156681/1693493993058-ce61a368-c95a-4e03-9db7-0263ec8cacba.png#averageHue=%23a86f56&clientId=u7cb9a1fc-b79b-4&from=paste&height=283&id=uc135b1d4&originHeight=283&originWidth=750&originalType=binary&ratio=1&rotation=0&showTitle=false&size=111146&status=done&style=none&taskId=u3b9fbd75-98b6-48fd-b4ab-e31a7797af4&title=&width=750)
## 🤔 How to Use These Features?
Read this comprehensive guide and you'll understand everything~
- 【[Migrate Guide](https://g6-next.antv.antgroup.com/en/manual/upgrade)】
- 【[How to use the Features](https://g6-next.antv.antgroup.com/en/manual/new-features)】
- 【[Feature DEMOs](https://g6-next.antv.antgroup.com/en/examples)】
## 🌸 More Small and Wonderful Changes
- Hull supports text configuration.
- Polyline supports automatic obstacle avoidance.
- Text automatically adapts to width.
- Improved interactive performance by using a temporary layer canvas.
- Legend automatically retrieves styles from the canvas.
## 💪 We are not Alone!
G6 belongs to the community, and the successful release of the Beta version is thanks to the contributions from the community. Thank you all for your dedication! Even the smallest contribution makes you a part of the G6 family! Special thanks to all of you (in no particular order):
![image.png](https://cdn.nlark.com/yuque/0/2023/png/156681/1693535406356-2cad8781-a317-404b-a9df-cbbc253a4765.png#averageHue=%23f4f2f1&clientId=u8e5e38fe-09a3-4&from=paste&height=472&id=uef341068&originHeight=472&originWidth=1105&originalType=binary&ratio=1&rotation=0&showTitle=false&size=179103&status=done&style=none&taskId=u88aa2548-393b-4f61-8dbf-0ad2fcc8ce1&title=&width=1105)
Because of G6, there is a romantic connection among developers (Experience the product link in the image below, inquire through GitHub Issue~):
![g6-network2.png](https://cdn.nlark.com/yuque/0/2023/png/156681/1693537338314-fac9d2ab-f686-4cf8-ae03-d883bdeb6a20.png#averageHue=%23c4a666&clientId=u84b58fef-b3c8-4&from=paste&height=1021&id=ub3411e06&originHeight=1021&originWidth=1565&originalType=binary&ratio=1&rotation=0&showTitle=false&size=552943&status=done&style=none&taskId=ueb3a1ae3-b740-413c-bc0a-50fdb885526&title=&width=1565)
Next, let's move forward to the official version of G6! We continue to recruit community contributors. Please pay attention to the "bounty" labeled issues in GitHub Issue. We will continue to release tasks, such as:
![image.png](https://cdn.nlark.com/yuque/0/2023/png/156681/1693494065978-24382014-762d-4ba0-ba23-8e9fdcd45ddd.png#averageHue=%23f2f4f4&clientId=u7cb9a1fc-b79b-4&from=paste&height=324&id=u8a129e55&originHeight=324&originWidth=750&originalType=binary&ratio=1&rotation=0&showTitle=false&size=82307&status=done&style=none&taskId=u26dc1a87-fa12-452c-a7f1-cece865c577&title=&width=750)
Come and join our feast, and experience the charm of AntV G6 5.0 Beta version together! Visit the official website of G6 5.0 at [https://g6-next.antv.antgroup.com/en/](https://g6-next.antv.antgroup.com/en/) to access the 【[Migrate Guide](https://g6-next.antv.antgroup.com/en/manual/upgrade)】,【[How to use the Features](https://g6-next.antv.antgroup.com/en/manual/new-features)】,【[Feature DEMOs](https://g6-next.antv.antgroup.com/en/examples)】. And get more detailed information and example code. We look forward to hearing your astonishment and sharing.
⭐️ Please also give us a GitHub Star at [https://github.com/antvis/G6](https://github.com/antvis/G6) to make G6 even more perfect! The AntV G6 development team is looking forward to creating miracles with you!

View File

@ -0,0 +1,84 @@
---
title: 🎉 Beta 发布稿
order: 2
---
Hi 亲爱的用户,发布稿咱也不想写了,就让 GPT 老师发来喜报吧:
瞧瞧我们正大喜过望地宣告AntV G6 5.0 Beta 版本今天闪亮登场!这是一次引爆你视觉感官的数据可视化盛宴,专业又优雅,必须让你大呼过瘾!
### 🚀 高性能渲染 & 计算
我们拥速度嗖嗖嗖的渲染技术G6 5.0 Beta 采用高性能 Canvas 和 WebGL 渲染,加上 WASM 和 GPU 布局的酷炫加持,你想玩大规模数据,我们都能秒杀!
![image.png](https://cdn.nlark.com/yuque/0/2023/png/156681/1693473594167-f17ef79d-6f12-4f78-811e-26565c550da7.png#averageHue=%23fdfbfa&clientId=u285a7b33-ba57-4&from=paste&height=926&id=N48hl&originHeight=926&originWidth=1077&originalType=binary&ratio=1&rotation=0&showTitle=false&size=814944&status=done&style=none&taskId=u3e517c01-25f8-4c8a-9a83-6541d6dd332&title=&width=1077)
几千点边,布局计算就是一瞬间的事!
![layout-wasm.gif](https://cdn.nlark.com/yuque/0/2023/gif/156681/1693481057274-5910117a-685b-4415-8ab5-22a8beb49897.gif#averageHue=%23fdfdfd&clientId=u285a7b33-ba57-4&from=drop&id=a78Lf&originHeight=574&originWidth=800&originalType=binary&ratio=1&rotation=0&showTitle=false&size=552239&status=done&style=none&taskId=u45c37d78-4bca-4401-80d0-a65a99c6f0e&title=)
### 🌠 3D 大图
嗨,别以为我们只能做平平无奇的 2D 图可视化G6 5.0 Beta 支持了超强 3D 大图能力,让你尽情嗨玩复杂庞大的图数据吧!唰唰唰,流畅的渲染和交互体验等你来挑战!
![image.png](https://cdn.nlark.com/yuque/0/2023/png/156681/1693476569422-62e3e9fd-69bb-4988-9b41-77415d280da0.png#averageHue=%23070605&clientId=u285a7b33-ba57-4&from=paste&height=1009&id=u01cd8bff&originHeight=1009&originWidth=1925&originalType=binary&ratio=1&rotation=0&showTitle=false&size=966999&status=done&style=none&taskId=uaea2663c-31f0-48ab-b4e5-9bf3760d903&title=&width=1925)
### 🎞 视觉和动画规范
咱们的设计师小伙伴们可是费尽心思打造了一整套图表视觉和动画规范哦!从色板到图形排列,只要你敢想,就能通过简单的 JSON Spec 实现!让你的图表炫出新高度!
![image.png](https://cdn.nlark.com/yuque/0/2023/png/156681/1693481948111-cafd55a6-3618-4112-aa32-f9fa10c12be9.png#averageHue=%23fcfcfb&clientId=uc96ba4b3-aff0-4&from=paste&height=459&id=neKPy&originHeight=459&originWidth=1356&originalType=binary&ratio=1&rotation=0&showTitle=false&size=166745&status=done&style=none&taskId=u08572b4c-3f5e-4825-b2e2-e659a89b819&title=&width=1356)
元素图形动画、视口动画,简单定义,优雅呈现:
![animation-7.gif](https://cdn.nlark.com/yuque/0/2023/gif/156681/1693484357183-f7b9d7ad-f939-439e-99d7-a758c3385b58.gif#averageHue=%23fefefe&clientId=u0d81b1ff-d3e8-4&from=paste&height=492&id=u70efaa21&originHeight=341&originWidth=500&originalType=binary&ratio=1&rotation=0&showTitle=false&size=2100091&status=done&style=none&taskId=u4bf7a6a2-6469-471b-8744-45e977de10d&title=&width=722)
信息分层,让大图不再混乱:
![lod.gif](https://cdn.nlark.com/yuque/0/2023/gif/156681/1693484529980-1b2b193e-bdf2-479c-b444-acfa28f11d2c.gif#averageHue=%23fefefe&clientId=uff9f4ccd-56dc-4&from=drop&id=u8a58f1d8&originHeight=430&originWidth=600&originalType=binary&ratio=1&rotation=0&showTitle=false&size=2398130&status=done&style=none&taskId=ud66f36cb-11ad-462d-8bcf-22caef333b0&title=)
### 🎨 新增主题机制
你想要什么样的风格G6 5.0 Beta 一切随你!新增主题机制,让你尽情定制图表的样式主题,无论是与品牌一致,还是追求个性独特,我们都能满足你的要求!
![image.png](https://cdn.nlark.com/yuque/0/2023/png/156681/1693479536538-9256b5d0-6746-43f5-8bfd-102ddee9ff27.png#averageHue=%23ededdf&clientId=u285a7b33-ba57-4&from=paste&height=861&id=u92ebfe7a&originHeight=861&originWidth=1242&originalType=binary&ratio=1&rotation=0&showTitle=false&size=1162222&status=done&style=none&taskId=uba48a95e-88fc-4219-87ad-54ca5ebf1d5&title=&width=1242)
### 🎄 树图和图融合
是时候让你的图融会贯通了 —— 普通图用树图布局和交互,能行!森林,能画!树图加环,能画!
G6 5.0 Beta 支持图数据和树图数据的读取,提供通用的交互和布局功能。不管是网络图数据还是嵌套结构数据,我们都给你全方位解决方案!
![tree-graph.gif](https://cdn.nlark.com/yuque/0/2023/gif/156681/1693479688631-a0c0c83f-6a66-48bf-a329-af098082cfa8.gif#averageHue=%23fefefe&clientId=u285a7b33-ba57-4&from=drop&height=468&id=u24eaa2a7&originHeight=574&originWidth=800&originalType=binary&ratio=1&rotation=0&showTitle=false&size=277928&status=done&style=none&taskId=u798fb3df-9eab-4d39-8948-b3cbc2bbaa6&title=&width=652)
### 🤖 数据处理器
小小的数据转换还有什么好担心的G6 5.0 Beta 提供了灵活的数据处理器扩展让你自由发挥处理数据的能力筛选、转换你想怎么玩都行后端给的数据纷纷扰扰v4 数据格式一键转换为 v5 格式?根本不在怕的!
### ⛳️ 全民插件化
哇哦!全民插件化,一切皆可是扩展!自定义写法 = 内置写法!你可以为图表增添各种新奇的交互方式,让你的图表充满创意和视觉冲击力!你的想象力是我们的极限!
### 📦 包体积优化
小小的体积,大大的能力,让你的项目轻松上阵!我们就是要给你最好的性能和最快的加载速度!
![image.png](https://cdn.nlark.com/yuque/0/2023/png/156681/1693480154882-2ffe8eb2-7a08-477d-9221-2f6fcc11d74a.png#averageHue=%23a87057&clientId=u285a7b33-ba57-4&from=paste&height=668&id=u68b38130&originHeight=668&originWidth=1770&originalType=binary&ratio=1&rotation=0&showTitle=false&size=394149&status=done&style=none&taskId=uc3ab0806-7941-420a-9699-1d838948d94&title=&width=1770)
### 🌸 还有一些微小而美好的改变
- 轮廓包裹 Hull 支持文本配置;
- 折线支持自动避障;
- 文本自动适配宽度;
- 采用临时层画布提升交互性能;
- 图例自动从画布中获取样式。
### 🤔 这些功能咋用呢?
干下这篇十全大补文,你就都懂了~
- 【[迁移指南](https://g6-next.antv.antgroup.com/manual/upgrade)】;
- 【[新功能怎么用](https://g6-next.antv.antgroup.com/manual/new-features)】;
- 【[新功能 DEMO](https://g6-next.antv.antgroup.com/examples)】。
### 💪 不止我们在战斗
G6 是社区的 G6Beta 版能够成功发布,还多亏了社区的贡献者们,感谢大家的倾情奉献!即使是再小的修改,你也是 G6 人了!在此特别鸣谢你们(排名不分先后):
![image.png](https://cdn.nlark.com/yuque/0/2023/png/156681/1693535411918-42a492f4-7979-4045-9006-fd76be34f879.png#averageHue=%23f4f2f1&clientId=u6c28caa1-635e-4&from=paste&height=472&id=u84a41be1&originHeight=472&originWidth=1105&originalType=binary&ratio=1&rotation=0&showTitle=false&size=179103&status=done&style=none&taskId=ucd521d7f-031f-4bb0-b540-b99d350cebb&title=&width=1105)
因为 G6有了属于开发者们的浪漫连接体验下图产品链接GitHub Issue 来询~):
![g6-network2.png](https://cdn.nlark.com/yuque/0/2023/png/156681/1693537281676-fbaeb990-2b66-466b-bdcf-d5a9f69db047.png#averageHue=%23c4a666&clientId=u0c101a43-1fbb-4&from=paste&height=1021&id=u90c6a783&originHeight=1021&originWidth=1565&originalType=binary&ratio=1&rotation=0&showTitle=false&size=552943&status=done&style=none&taskId=u93ed2945-01f4-4984-83d2-a75902ac349&title=&width=1565)
下一步,向 G6 正式版进发!我们继续招募社区贡献者,请在 GitHub Issue 中关注和检索「悬赏」 label 的 Issue我们会持续发布任务例如
![image.png](https://cdn.nlark.com/yuque/0/2023/png/156681/1693493180262-4d0578ce-eb4e-4cf9-bd00-2dc2c400b936.png#averageHue=%23fefefe&clientId=u6228c604-52ad-4&from=paste&height=564&id=u5ff35d45&originHeight=564&originWidth=1307&originalType=binary&ratio=1&rotation=0&showTitle=false&size=143770&status=done&style=none&taskId=u516a27d2-7bd8-4306-b62f-ac50cd5b169&title=&width=1307)
快来参与我们的盛宴,一起体验 AntV G6 5.0 Beta 版本的魅力吧!访问 G6 5.0 的官网:[https://g6-next.antv.antgroup.com/](https://g6-next.antv.antgroup.com/),获取【[迁移指南](https://g6-next.antv.antgroup.com/manual/upgrade)】、【[新功能 DEMO](https://g6-next.antv.antgroup.com/examples)】、【[新功能怎么用](https://g6-next.antv.antgroup.com/manual/new-features)】。更获取更多详细信息和示例代码。我们期待听到你的惊叹和分享。
⭐️ 还请大家为我们点亮 GitHub Star [https://github.com/antvis/G6](https://github.com/antvis/G6),让 G6 变得更加完美AntV G6 开发团队,期待与你共创奇迹!

View File

@ -1,6 +1,6 @@
---
title: 🎉 How to Use New Features
order: 2
order: 3
---
Compared to G6 v4, G6 v5 introduces new capabilities in the following areas:

View File

@ -1,6 +1,6 @@
---
title: 🎉 新功能怎么用
order: 2
order: 3
---
相较于 v4G6 v5 的新能力体现在:

File diff suppressed because it is too large Load Diff