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

### 问题描述 如何实现树图嵌套层级的布局 如下图所示 ### 重现链接 // ### 重现步骤 // ### 预期行为 // ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...] - 网页浏览器: [Google Chrome, Safari, Firefox] -...

### Describe the bug When a Fruchterman layout graph has complex data and is GPU accelerated, the layout is incorrectly rendered. Sometimes it doesn't show at all and you need...

bug
stale

### 问题描述 背景:changedata利用全局动画animate:true开启动画 问题描述:见视频中鼠标点击处(点击一个node之后,会首先执行一次changeData后最新数据的渲染,然后再进行动画的执行,此时就会有一个比较明显的闪烁问题) ### 重现链接 下面视频 ### 重现步骤 见视频点击处,大约视频4s后的位置 ### 预期行为 changedata后不要先执行绘制最新数据,应该是直接开启动画 ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...] - 网页浏览器: [Google Chrome, Safari, Firefox] -...

### Describe the bug When I have both `G6` and `dagre` in my project typescript declarations reference `dagre-compound` instead of `@types/dagre` and that causes an error: ``` Argument of type...

### 问题描述 #3905 issue 情况下,节点连接多条线,箭头会出现重叠效果;看到g6-editor连线效果比较好,求个优化思路,谢谢 ### 重现链接 https://codepen.io/yanliang-code/pen/xxjKYEe ### 重现步骤 节点连接多个线 ### 预期行为 期望g6-editor连线效果 ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...] - 网页浏览器: [Google Chrome, Safari, Firefox]...

### 问题描述 When implementing **collapse-expand-combo** mode in **dagre** layout the children of a combo when collapsed are aligning to the top always when it's supposed to maintain the **TB** rank...

### 问题描述 第一个节点是图,第二个节点是自定义节点 图节点和自定义节点之间的距离太大 如何优化 代码及效果见下方重现链接 ### 重现链接 https://codesandbox.io/s/g6-ls1uir ### 重现步骤 一直都是 ### 预期行为 期望第一个节点图,和第二个节点,间距小一点 ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...] - 网页浏览器: [Google Chrome, Safari,...

### 问题描述 在registerNode中只是简单的返回了一个rect shape 。 然后再afterDraw中 对这个node填加了一些附加的shape 其中节点中的头像是用image shape 实现,在treeGraph 的zoom和drag过程中偶尔会出现图片绘制失败的情况, (Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The HTMLImageElement provided is in the 'broken' state.) 原因大概了解,但是怎么处理呢? 最开始是在 registerNode的draw方法中一次性完成了节点的所有图形绘制,除了keyShape其他的都放在了afterDraw中,单结果还是会有这种情况发生。 绘制imageShape的时候通过创建new Image...

### Describe the bug **PS C:\react-graph\g6\packages> npm start** _ERROR #98124 WEBPACK Generating development SSR bundle failed Can't resolve 'react-dom' in 'C:\react-graph\g6\node_modules\rc-motion\node_modules\rc-util\es\Dom' If you're trying to use a package make sure...

##### Checklist - [ ] `npm test` passes - [ ] tests and/or benchmarks are included - [ ] commit message follows commit guidelines ##### Description of change

PR: unreviewed