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 create chart by React ,lose clip attribute ### Your Example Website or App 暂无 ### Steps to Reproduce the Bug or Issue can't set clip ###...

### 问题描述 The node shadow is not cleared when a node is de-selected. ### 重现链接 https://stackblitz.com/edit/react-btcnz7-srwe1e?file=index.js ### 重现步骤 1. Click the node to select it - the shadow appears 2....

### Describe the bug When using the SVG renderer, selecting an edge causes it to disappear. ### Your Example Website or App https://stackblitz.com/edit/react-btcnz7-eevgj8?file=index.js,index.html ### Steps to Reproduce the Bug or...

### 问题描述 /* 先绘制的image图层 */ group.addShape('image', { attrs: { x: 7 + offsetX, y: 7 + offsetY, height: 30, width: 30, img: config.icon }, draggable: true, name: ‘main-icon' }) /*...

### 问题描述 ```js defaultEdge: { type: 'arc' // 这个类型 edge 无法响应 edge:mouseenter edge:mousemove edge:mouseleave } ``` ### 重现链接 无 ### 重现步骤 G6 官网demo 地址: https://g6.antv.vision/zh/examples/tool/tooltip#tooltipPluginLocal ```js import G6 from '@antv/g6';...

### 问题描述 1.click-slecte在mode切换时,对应的节点状态不准确 2.另想问下对v2与v3之间是否存在不兼容的情况,v2可以触发changeData事件,v3会报某某属性为null(相同的代码,在v2模板中好使,v3拷贝过去就不行) ### 重现链接 https://g6.antv.vision/zh/examples/net/forceDirected#basicFA2 ### 重现步骤 1.当没有进行切换mode时,click-select,可以拿到点击节点的选中状态, ![image](https://user-images.githubusercontent.com/74236806/186361970-08db3851-0690-4eb1-90f0-266e654b7723.png) 2.切换mode为create-edge时,创建边,并在创建边之后切换mode为default,节点的选中状态错误 ![image](https://user-images.githubusercontent.com/74236806/186362142-98b54e11-19c5-4c45-834b-3d250815d9f0.png) 3.添加边的时候,节点的选中状态好像就是不对 ### 预期行为 希望mode切换时,click-select依然能拿到对应的选中状态 ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...] - 网页浏览器: [Google...

### 问题描述 原问题:源数据节点类型分为两种,如 x, y 。要求 x 类型节点分布在 根节点 左边,y 类型节点分布在根节点右边。 解决思路:力导向图渲染出来节点是乱序的,有什么方法能让节点按照数据给定的顺序排布呢? ### 重现链接 https://codesandbox.io/s/optimistic-haibt-jrz7n8?file=/src/index.js ### 重现步骤 1、默认给出 nodes 和 edges 是按照 0-6的顺序, 0 是根节点 2、nodes 分为 x,y 两种类型的数据 ###...

### 问题描述 当我想在registerEdge中draw时, cfg中是包含source和target的,而registerNode中,我可以通过cfg拿到节点文本。 那我如何能根据节点文本来绘制线的不同style应该如何处理,因为我想通过判断条件重写 myline.attr({})中的属性 ### 重现链接 无 ### 重现步骤 无 ### 预期行为 无 ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...] - 网页浏览器: [Google Chrome, Safari,...

### 问题描述 当我更新树的数据时,图并没有重新渲染。而后我尝试 1、graph.refresh() graph.changeData(data) 失败 (大致出现了渲染出两张图的场景) 2、 graph.updateChildren(data) 失败 3、我将graph存到this.controllgraph数据中,在更改数据时,我 this.controllgraph.destroy() 然而此时传入的data可以打印出,但是却抛出错误Cannot set properties of null (setting 'data') 我想更新数据并重新绘制树图 改如何处理? ### 重现链接 无 ### 重现步骤 无 ### 预期行为 无...

- [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 [![Edit on CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/customer-react-node-g6-giy20?file=/src/App2.js:2177-2189) ### Steps to reproduce onMouseEnter未能触发, onClick有效...