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

### 问题描述 timebar 如何默认渲染”单一时间“,而不是”时间范围“ ### 重现链接 不需要 ### 重现步骤 不需要 ### 预期行为 timebar 如何默认渲染”单一时间“,而不是”时间范围“ ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...] - 网页浏览器: [Google Chrome, Safari, Firefox]...

… incremental layout init for force like layouts; ##### Checklist - [ ] `npm test` passes - [ ] tests and/or benchmarks are included - [ ] commit message follows...

PR: unreviewed

### 问题描述 想从1.x升级至4.x,但是项目中很多地方使用了1.x,暂时不方便一起升级,新功能想使用最新版,所以就安装了两个不同版本的依赖,但是安装后项目无法启动 安装两个版本的g6: ![image](https://user-images.githubusercontent.com/20297519/183884437-8f0ae1ee-effb-4580-be12-3de3e893f6a6.png) 启动报错: ![image](https://user-images.githubusercontent.com/20297519/183885141-8e607a45-8fdc-4044-8331-4526ad55b5ce.png) index.d.ts中也声明了: ![image](https://user-images.githubusercontent.com/20297519/183885245-7bcbf09f-1704-4cad-ba13-3b162c0715b9.png) ### 重现链接 无 ### 重现步骤 无 ### 预期行为 1.x跟4.x在同一项目中兼容 ### 平台 windows ### 屏幕截图或视频(可选) _No response_ ### 补充说明(可选) _No response_

### 问题描述 1、什么是当前元素?画布显示多个元素,当前元素是? // 以当前元素位置为中心,缩小到 0.5 graph.zoom(0.5); 2、zoom在gis中的概念是视窗宽代表的实际距离宽,而不是一个scale的概念,此处概念混淆容易造成误导 graph.zoom(0.5); 3、执行自定义布局后,如果想要缩放且固定画布到某一比例尺&位置时,怎么操作呢?目前是移动到某一个位置时,感觉在布局完成后,G6还有后续内置操作把画布做了一次自适应改变了开发者的自定义位置 4、graph.moveto(0,0) 希望这个方法能够详细一点描述,在自定义布局execte是graph.moveto(0,0)时,为啥不是在左上角,而是往右下偏移了一些位置? ### 重现链接 无 ### 重现步骤 无 ### 预期行为 无 ### 平台 - 操作系统: [macOS, Windows, Linux, React Native...

### 问题描述 根据文档: ``` const tooltip = new G6.Tooltip({ offsetX: 10, offsetY: 20, getContent(e) { const outDiv = document.createElement('div'); outDiv.style.width = '180px'; outDiv.innerHTML = ` 自定义tooltip Label: ${e.item.getModel().label || e.item.getModel().id}...

### Describe the bug There is a rendering issue with donuts - see screenshot taken from the demo at https://g6.antv.vision/en/examples/case/graphDemos#donutTransfer. ![Screenshot 2022-08-08 at 15 59 46](https://user-images.githubusercontent.com/29077863/183449315-3deaa784-046b-4c9c-8b5f-08a18abd6728.png) My system info: ```...

### Describe the bug When we try to select nodes using the `brush-select` nodes, sometimes the nodes are not selected, and sometimes yes. We provide a video of when this...

### 问题描述 使用TreeGraph,并且animate:true, 使用addChild添加子节点时,节点会出现重叠,并且removeChild后有些节点的位置也会出现偏差。 ### 重现链接 https://codesandbox.io/s/drag-addchild-animate-z1snio ### 重现步骤 1. 设置animate: true; 2. 拖拽TreeGraph中的某一个节点时,用addChild()向其他节点后面追加子节点; 3. 会导致部分子节点出现重叠; 4. 用removeChild()删除所有追加的子节点后,之前的某些节点位置也会出现偏差。 ### 预期行为 希望能正常显示,子节点不重叠,且子节点删除后布局显示正常 ### 平台 - 操作系统: macOS - 网页浏览器: Google Chrome...

### 问题描述 动态新增子combo到父combo中,使用graph.addItem(),会强制relayout。 ### 重现链接 。 ### 重现步骤 graph.addItem('combo', { id: new Date().getTime().toString(), label: new Date().getTime().toString(), itemType: 'combo', parentId: combo.id, }); ### 预期行为 不要强行relayout。保持我现在的布局位置。仅被操作combo内部刷新即可 ### 平台 - 操作系统: [macOS, Windows,...

### 问题描述 更新 ModelRect 节点类型 的 linkPoints 的 cursor 属性无效 ### 重现链接 https://g6.antv.vision/zh/examples/item/defaultNodes#modelRect ### 重现步骤 替换最后一段代码 ``` js graph.on('node:mouseenter', (evt) => { const { item } = evt; graph.setItemState(item, 'hover',...