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

* 布局过程中,每个布局阶段都抛出事件,包含当前进行的布局及序数 --- * During the layout process, each layout stage throws an event containing the current layout and the ordinal number

### Describe the bug / 问题描述 focusItem方法未在水平位置上将矩形节点移动至中心,竖直位置可以。似乎在图中节点数较多时,水平位置会偏中心一些,但只有一个节点时完全靠右偏移至移出视口中心了 ` const animateCfg = { duration: 200, easing: 'easeCubic' } const moveGraph = (searchNode) => { const node = appGraph.findById(searchNode); appGraph.focusItem(node, true, animateCfg)...

### Describe the bug / 问题描述 g6 4.8.21 官方示例中,决策树图的示例代码内在modes 增加了'click-select'属性,在defaultConfig中增加了nodeStateStyle(selected)选中节点的样式,并且在node:click事件中,进行了graph.setItemState(item, 'selected', true)操作,但是依然无法实现选中节点的效果。 ### Reproduction link / 重现链接 https://g6.antv.antgroup.com/zh/examples/case/treeDemos/#decisionTree ### Steps to Reproduce the Bug or Issue / 重现步骤 // 组件props...

### Describe the bug / 问题描述 ![image](https://github.com/antvis/G6/assets/54572770/44e825ea-312e-4629-a9de-a648e2b8ea56) 1.上图是预期功能。 ![image](https://github.com/antvis/G6/assets/54572770/fdf037c4-a61d-4611-a7ad-37e6b466429e) 2.上图是源码,并没有对该方法的返回值进行处理。 ### Reproduction link / 重现链接 _No response_ ### Steps to Reproduce the Bug or Issue / 重现步骤 无 ### G6...

### Describe the bug / 问题描述 Combo Combined 布局无法避免 combo 有重叠 type: 'comboCombined', nodeSize: 200, spacing: 30, comboPadding: 30, innerLayout: new G6.Layout['force2']({ linkDistance: 50, // 可选,边长 nodeStrength: 100, // 可选...

### Describe the bug / 问题描述 ![微信图片_20240625142332](https://github.com/antvis/G6/assets/43629261/1da90897-ca5b-4e72-bc09-f4972cd6679d) ### Reproduction link / 重现链接 _No response_ ### Steps to Reproduce the Bug or Issue / 重现步骤 _No response_ ### G6 Version /...

### Describe the bug / 问题描述 如题 ### Reproduction link / 重现链接 _No response_ ### Steps to Reproduce the Bug or Issue / 重现步骤 _No response_ ### G6 Version /...

bug
v5

### Describe the bug / 问题描述 调用 focusElement API 后立即鼠标悬浮到另一个节点,该节点没有发生状态变化 ### Reproduction link / 重现链接 _No response_ ### Steps to Reproduce the Bug or Issue / 重现步骤 _No response_ ###...

### Describe the bug / 问题描述 添加第一个图元后,通过hsitory.undo()不能撤销添加该图元 ### Reproduction link / 重现链接 https://stackblitz.com/edit/react-tk5nfd?file=index.js ### Steps to Reproduce the Bug or Issue / 重现步骤 就第一个添加的图元不能撤销,后面添加的图元都可以撤销 ### G6 Version / G6 版本...

bug
v5

### 问题描述 官方示例:自定义节点/Dom节点 的图图表示例,在设置 modes: { default: ['drag-canvas', 'zoom-canvas']}后,在拖动或者缩放图表后,自定义dom的点击事件失效 ### 重现链接 https://g6.antv.antgroup.com/examples/item/customNode/#svgDom ### 重现步骤 import G6 from '@antv/g6'; /** * This demo shows how to register a custom node with...

bug
example