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

### 问题描述 一个节点关联多条边,需要将连接点设置在不同的位置,使用了anchorPoints,没有生效 ### 重现链接 - ### 重现步骤 - ### 预期行为 - ### 平台 - 操作系统: [macOS] - 网页浏览器: [Google Chrome] - G6 版本: [4.6.4 ] ### 屏幕截图或视频(可选) ![企业微信截图_0b36572a-db62-4422-aac3-44a0d6c9761b](https://user-images.githubusercontent.com/23169188/187586836-521e9816-a544-422f-b089-a1791ec34f04.png) ###...

### 问题描述 graph.on('node:mouseenter'时更新图片为B并增大尺寸,graph.on('node:mouseleave'时恢复图片为A并还原尺寸,尺寸稳定还原,但是图片偶发性恢复失败,并且更新图片貌似必须通过graph.refreshItem方法刷新一下才会显示 ### 重现链接 无 ### 重现步骤 代码如下: graph.on('node:mouseenter', (e) => { graph.updateItem(e.item, { img: e.item._cfg.model.activeImg, size: e.item._cfg.model.size.map((ite) => ite * 2) }) graph.refreshItem(e.item) }) graph.on('node:mouseleave', (e) => {...

### 问题描述 G6.registerNode了一个dom,设置draggable: true, 绘制成功后无法拖拽。 ### 重现链接 无 ### 重现步骤 以下是我的代码 ``` data = { nodes: [ { id: 'email1', type: 'domnode', label: '[email protected]' }] } // dom G6.registerNode('domnode', {...

### Describe the bug When `vedge.update()` is used from within an `afteradditem` handler, an error can result: ``` Cannot read properties of null (reading 'model') ``` ### Your Example Website...

### 问题描述 使用compactBox树图当内容过多时,polyline线段连接时靠近父级的节点与线段不会重叠,展示错乱。 ![image](https://user-images.githubusercontent.com/83913456/187167500-5e73b94d-448d-4df8-969c-426386f43362.png) ### 重现链接 https://stackblitz.com/edit/vue-rntmb5?file=src%2FApp.vue ### 重现步骤 进入示例连接[https://stackblitz.com/edit/vue-rntmb5?file=src%2FApp.vue](url) ### 预期行为 我期望看到线段重叠不突出错乱 ### 平台 - 操作系统: [Windows] - 网页浏览器: [Google] - G6 版本: [... ] @ ### 屏幕截图或视频(可选) _No...

##### Checklist - [ ] `npm test` passes (it fails, but it fails on master already) - [ ] tests and/or benchmarks are included - [x] commit message follows commit...

PR: unreviewed

### Describe the bug 报错信息如下 TypeError: ShapeBase[shapeType] is not a constructor at Container.addShape (container.js?330d:203:1) 我是这么注册使用 G6.registerNode( 'dom-node', { draw: (cfg, group) => { return group.addShape('dom', { ... ### Your Example...

### 问题描述 业务背景: 使用TreeGraph组织节点关系,并且允许用户来交互式地来创建一棵树,有以下特别的需求 1. 允许用户创建一个任意边,就比如现在有一颗树结构是这样的 ``` a / \ b c | d ``` 上面是一个标准的树结构,但是现在允许用户添加一个从c指向d的虚边(使用虚线表示),表示c下面有一颗和d一样结构的子树(由于d可能比较复杂,这样做是为了简化配置),因此想看在TreeGraph下,能否自己再根据节点位置添加新的虚边,或者允许自己来添加一个Path到canvas上也行 2. 允许创建空的combo,看了下demo中的例子,combo是必须要指定其中的节点id的,现在是问题是在创建的时候,用户先创建出一个combo(不是节点,业务上同一个combo下的节点将会默认同一类属性),然后再创建、拖拽节点到其中以建立这种包含关系。这种需求下能允许自己来画一个空的框吗 ### 重现链接 无 ### 重现步骤 无 ### 预期行为 无 ### 平台 -...

### 问题描述 在ts文件中使用g6-react-node会报错,然后运行项目也会报错![image](https://user-images.githubusercontent.com/111745349/188785786-3c4ce400-a11d-44bf-9040-3bfb182ab891.png) ![image](https://user-images.githubusercontent.com/111745349/188785883-3e1d0186-2a05-4d14-b077-e604a8e01cde.png) ### 重现链接 暂无 ### 重现步骤 暂无 ### 预期行为 能正常运行 ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...] - 网页浏览器: [Google Chrome, Safari, Firefox] -...

### Describe the bug I would like to contribute to the project but am having some trouble: `npm install` fails for a fresh clone of the repo. The error message...