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

### Describe the bug When using G6 inside React component my project requires using wrapper components that can clone it's `children` elements. So if container for G6 graph is one...

### 问题描述 ![image](https://user-images.githubusercontent.com/23102078/167248103-bd8ded02-1dc9-4e20-9b9e-2f5a148aea34.png) 在力导向图jie节点较少的情况下,同一个主节点的线会重合,比如图上id=1和id=2的节点都是属于id=0的主节点,但是视觉上并不能直观的确定id=2的节点的主节点是id=1还是id=0,请问如何避免这种情况的发生,或者能不能像echarts一样布局时施加一个转动的力让这种会显示在一条线上的节点尽量分开 ### 重现链接 https://codesandbox.io/s/g607fp?file=/index.js ### 重现步骤 进入页面,查看展示效果 ### 预期行为 我期望看到不同的边不会重合 ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...] - 网页浏览器: [Google Chrome, Safari, Firefox] -...

### 问题描述 ``` import G6 from '@antv/g6'; const data = { nodes: [ { id: 'rect', label: 'rect', x: 250, y: 150, stateStyles: { selected: { fill: '#1890FF', cursor: 'move',...

### Describe the bug 在镜像文档中,表格的格式出现了问题,其中一个参考链接请看[这里](https://antv-g6.gitee.io/zh/examples/tree/customItemTree#customTree) 。 下面是图: 我原以为是文档格式出了问题,结果官方文档是正常的,对应的链接在[这里](https://g6.antv.vision/zh/examples/tree/customItemTree#customTree)。 下面是图: 辛苦帮忙排查一下。 ### Your Example Website or App -- ### Steps to Reproduce the Bug or Issue -- ### Expected behavior --...

### 问题描述 根据官方文档和示例,使用@antv/g6-react-node包定义自定义节点,发现zIndex和inline属性不生效; ### 重现链接 https://codesandbox.io/s/divine-smoke-k149xx?file=/App.jsx ### 重现步骤 根据官方文档和示例,使用@antv/g6-react-node包定义自定义节点: 1、在两个并列的元素之间,想要通过zIndex属性来改变渲染的层级,结果不生效; 2、在两个并列的元素上设置 next:inline 属性,想要达到文本并排的效果,结果不生效(在父元素上使用flex布局有效); ### 预期行为 元素并没有按照zIndex排序,而是保持代码中的定义顺序 ; ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...] - 网页浏览器: [Google...

### 问题描述 combo的大小无法根据label的长短自适应,即combo无法全部包裹node的label ### 重现链接 https://stackblitz.com/edit/js-7aesdv?file=index.js ### 重现步骤 ![image](https://user-images.githubusercontent.com/107109528/172627418-57de4c5f-f7f7-42f6-ab6a-28f52a77dc1a.png) ### 预期行为 我期望看到combo大小自适应lable的长度 ### 平台 - 操作系统: Windows - 网页浏览器: Google Chrome - G6 版本: [4.5.1 ... ] ### 屏幕截图或视频(可选) ![image](https://user-images.githubusercontent.com/107109528/172627337-61e10afb-c3a7-4724-a3ad-b84e47842d6b.png)...

feature

### 问题描述 火狐浏览器使用 group.addShape('image',{})引入svg图片,节点显示空白 不显示图片 ### 重现链接 .. ### 重现步骤 import G6 from "@antv/g6"; const graph = new G6.Graph({ container: "container", animate: true, fitCenter: true, fitView: true, animateCfg: { duration:...

### 问题描述 通过修改canvas的cursor并且加上了important都会被g6内置方法给清除,请问如何能修改鼠标样式? ### 重现链接 www.baidu.com ### 重现步骤 G6关系图,鼠标移入移出节点 ### 预期行为 希望能修改鼠标样式 ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...] - 网页浏览器: [Google Chrome, Safari, Firefox] - G6...

### 缘由 Cause G6 现在已经正式迈入了4.0+时代,我们很欣慰的看到有越来越多的人使用G6,承蒙各位厚爱,G6目前也在越来越多的场景被使用。与此同时,G6原来的图表案例就相形见绌了,还停留在一个比较基本的案例阶段,他只是展示了一些基本的原子功能案例。所以在这里,我们向社区的各位发出请求,为了让对G6的使用方案有更好的沉淀,希望大家提供自己实际的使用案例,我们将会修改为G6官网的案例,并且附上你的署名,让你的案例在G6官网可以帮助更多的人。 G6 has now officially entered the 4.0+ era and we are pleased to see that more and more people are using G6, and thanks to...

help wanted
example
good first issue

- [x] I have searched the [issues](https://github.com/antvis/g6/issues) of this repository and believe that this is not a duplicate. ### Reproduction link [https://repl.it/@BlackGlory/g6](https://repl.it/@BlackGlory/g6) ### Steps to reproduce index.ts ```ts import {...