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

### 问题描述 1. 如sandbox示例,自定义节点,在1K以内交互尚可,大约在3K节点时,交互很卡,再多会产生Maximum call stack size exceeded的报错。 官方性能示例能达到5W个节点,请问如何优化到可渲染W级别节点 2. minimap相当于copy了一份canvas,会导致性能消耗*2,用imageminimap何时生成图片恰当 3. 是否可以通过对应api检测异步渲染数据的耗时 4. 是否可以提供一个类似于地图的缩放的示例,根据缩放的比例不同,展示的内容层级也不同,比如示例中某种情况下编程展示小圆圈,缩放到一定程度,展示自定义节点 5. 是否可以提供一个类似于虚拟列表的示例,只渲染canvas视口范围内和缓存区的内容,当drag-canvas时再渲染其余部分以提高性能 ### 重现链接 https://codesandbox.io/s/blissful-haslett-hxys8n?file=/src/components/HelloWorld.vue ### 重现步骤 1.输入框输入10,点击渲染 正常 2. 刷新之后输入框输入1000,点击渲染 略卡 3. 刷新之后输入框输入5000,点击渲染 Maximum...

### Describe the bug `graph.ChangeSize()` is not shrinking the canvas once it has been expanded. Here is the code I use to resize the graph when width or height change...

### Describe the bug 【补充】:自定义布局实现一个空 `setState` 方法好像就不会错位了 使用 setState 指定状态或内置的 `activate-relations`,hover 到 combo 或节点时,已经添加的 shape 元素错位 ### Your Example Website or App https://stackblitz.com/edit/react-sgxe1z-mas7hj?file=index.js ### Steps to Reproduce the Bug or...

### Describe the bug Thank you for this great library and excellent example: https://g6.antv.vision/en/examples/case/graphDemos#largeGraph In that Large Graph Example though, if you right click on a real (non-aggregated node) and...

### 问题描述 使用图表点击会折叠收缩,但是一旦一方数量过多的情况下,另一方并不会收缩到预期的位置上,如下图: ![c3f2868c2a28a73eb99aa5181ff30d3](https://user-images.githubusercontent.com/73180970/190306280-80d49f02-253e-40a6-b834-2d1b62705c49.jpg) 初始状态是上图,当点击右侧的菜单时候,下面的会进行收缩,但是收缩之后的位置会和左侧重合 ![40248ab316d0de092c6ade7414c98d4](https://user-images.githubusercontent.com/73180970/190306416-6854527b-03f3-47d1-b726-ee3c5f6d9bb6.jpg) 红色代表预期应该折叠的位置,绿色是实际上到达的位置 ### 重现链接 https://stackblitz.com/ ### 重现步骤 见问题描述 ### 预期行为 见问题描述 ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...] - 网页浏览器: [Google Chrome,...

### 问题描述 使用g6-react-node自定义的节点, layout: {type: 'dagre'},增加toolbar工具 撤销重做按钮不生效,放大缩小等功能正常 ### 重现链接 暂无 ### 重现步骤 无 ### 预期行为 按钮功能正常 ### 平台 - 操作系统: [macOS, Windows, Linux, React Native ...] - 网页浏览器: [Google Chrome,...

### 问题描述 自定义复杂节点,有三个image-shape,当节点数达到150左右时,拖拽画布会有卡顿,使用其他内置节点则不会。 将节点中的image-shape去掉后,拖拽不再卡顿。 想问下有没有优化的方式? (在拖拽时,没有触发节点的draw和update方法) ### 重现链接 none ### 重现步骤 节点是否加图片图形 ### 预期行为 拖拽不卡顿 ### 平台 - 操作系统: [macOS] - 网页浏览器: [Google Chrome] - G6 版本: [4.6.15 ] ###...

### 问题描述 vue版本2.6.1 @antv/g6版本4.3.11 原封不动复制官网的例子,加入到vue的mounted生命周期,加进去后一个是没有动画,于是手动加了个animate:true 但碰撞检测和重叠都有点问题 链接里用的vue3,不过这不重要,vue3,vue2,antv/g6 4.3 4.5都会有问题,是我语法用的有问题还是怎样 这是官网的实例连接 [https://g6.antv.vision/zh/examples/net/forceDirected#forceBubbles](url) ```html import G6 from '@antv/g6' export default { mounted() { function _defineProperty(obj, key, value) { if (key in obj)...

### 问题描述 https://github.com/antvis/G/issues/40 https://github.com/antvis/G/pull/639 服务器图片未配置图片允许跨域时 ``` image.crossOrigin = "Anonymous" ``` 导致图片加载失败 ### 重现链接 https://codesandbox.io/s/restless-fire-leg5qu?file=/index.js ### 重现步骤 见codesandbox ### 预期行为 希望可以配置 ``` image.crossOrigin = "Anonymous" ``` 是否执行; 以及 ``` image.crossOrigin ```...

问题描述:dagre布局,使用changeData添加数据,两次渲染数据前面的节点/边顺序没有改变。第二次的数据是在第一次的基础上追加的(只添加了一个节点和一条边),但是重新渲染后,节点“图表1”和“图表2”的位置发生了对调。 - **G6 Version**: 3.3.6 - **Platform**: - **Mini Showcase(like screenshots)**: ![问题](https://user-images.githubusercontent.com/29507557/76726718-f8794180-678c-11ea-874b-ba22ac2dbc33.gif) - **CodePen Link**: https://codesandbox.io/s/cranky-pond-dthio