G6 icon indicating copy to clipboard operation
G6 copied to clipboard

♾ A Graph Visualization Framework in JavaScript.

Results 414 G6 issues
Sort by recently updated
recently updated
newest added

### 问题描述 树图 设置父节点x y 偏移量后,渲染出两个父节点,这是为啥? 如下图所示 父节点位置正常是蓝色模块,设置完偏移量后,又多出个黄色的色块,黄色的色块应该是右侧子节点的色块 ![1717232903106](https://github.com/antvis/G6/assets/33676254/274aeb4b-e469-40f4-81aa-cf88c5fa1856) rect = group.addShape('rect', { attrs: { x: 10, // x 轴移动距离 y: 10, // y 轴移动距离 width: size[0],// 宽 height: 40,//...

### 问题描述 dagre布局,连线是polyline类型,通过graph.updateLayout()方法切换controlPoints的值,只会将controlPoints切换成true和false,如下: graph.updateLayout({ controlPoints: true, }); 调用完updateLayout方法后连线的控制点没有改变,希望看到有控制点和无控制点两种情况,如下图: ### 重现链接 无 ### 重现步骤 无 ### 预期行为 希望调用graph.updateLayout()方法后可立即切换连线样式,不希望重新创建图的实例来实现目标 ### 平台 - 操作系统: [macOS] - 网页浏览器: [Google Chrome] - G6 版本: [4.8.24]...

### 问题描述 打开demo,按住一个节点0.8秒。然后拖拽到另一个节点上移动,就能复现,会频繁触发dragleave ### 重现链接 https://codesandbox.io/p/devbox/drga-node-sort-m4y5cl ### 重现步骤 打开demo,按住一个节点0.8秒。然后拖拽到另一个节点上移动,就能复现,会频繁触发dragleave ### 预期行为 拖出节点时只触发一次 ### 平台 - 操作系统: Windows - 网页浏览器:Chrome - G6 版本: 4.8.21 ### 屏幕截图或视频(可选) ![ch10004-5-29](https://github.com/antvis/G6/assets/33613409/0d0a0c0b-1074-438e-b4ae-977e5fa676d7) _No response_ ### 补充说明(可选)...

bug

### AntV Open Source Contribution Plan(可选/Optional) - [X] 我同意将这个 Issue 参与 OSCP 计划 / I agree to participate in the OSCP plan ### Issue 类型 / Issue Type 高级任务 /...

AntV OSCP

### 问题描述 目前项目中需要dagre布局中,若节点有下一级,则在节点右边渲染个按钮,可展开/折叠下一级,请问如何实现 ### 重现链接 none ### 重现步骤 none ### 预期行为 如上所述 ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...] - 网页浏览器: [Google Chrome, Safari, Firefox] - G6...

stale

### AntV Open Source Contribution Plan(可选/Optional) - [X] 我同意将这个 Issue 参与 OSCP 计划 / I agree to participate in the OSCP plan ### Issue 类型 / Issue Type 高级任务 /...

AntV OSCP

### 问题描述 想通过特定上下文控制scroll-canvas,其它默认behavior有shouldBegin、shouldUpdate属性,但scroll-canvas没有 ### 重现链接 无 ### 重现步骤 无 ### 预期行为 无 ### 平台 - 操作系统: [macOS] - 网页浏览器: [Google Chrome] - G6 版本: [4.8.21] ### 屏幕截图或视频(可选) _No response_ ###...

### Describe the bug I use the G6.TreeGraph module, which works on dev, and I get errors when I build ``` Error [ERR_REQUIRE_ESM]: require() of ES Module E:\project\shopping\node_modules\.pnpm\[email protected]\node_modules\d3-interpolate\src\index.js from E:\project\shopping\node_modules\.pnpm\@[email protected]\node_modules\@antv\g-base\lib\animate\timeline.js...

### Describe the bug 自定义矩形形状的节点,聚焦节点focusItem的时候没有定位到中心(左右间距不一样) ### Your Example Website or App https://g6.antv.antgroup.com/examples/item/customNode/#card 在https://g6.antv.antgroup.com/examples/item/customNode/#card这里添加聚焦的逻辑: function handleNodeClick(event) { const item = event.item; // animately move the graph to focus on the item....