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 我在原本布局数组上添加了一些新的数据,我使用layout()进行布局,很显然我拖拽后的节点的位置发生了变化,我尝试使用您之前说过的方法先用destoryLayout(),再使用changeData(),使用后新添加的数据与之前的布局方式不一样了(非力导向图),请问是否是我的操作出现了问题,希望的到您的解答,感谢 @Yanyan-Wang @a ### Your Example Website or App 无 ### Steps to Reproduce the Bug or Issue 无 ### Expected behavior 无 ### Screenshots or...

* 修复 `ArrangeDrawOrder` 未考虑组合更新的情况 * 将 `states` `children` `parentId` 属性从 style 提升至上一级 * `parentId` 重命名为 `combo` --- * Fix to ArrangeDrawOrder not considering combo updates * Elevates `states`, `children`, `parentId`...

图模式匹配: ![屏幕录制2024-05-08 17 13 21](https://github.com/antvis/G6/assets/102511291/7df638dc-be83-4de4-98a8-152d27d6fb99) 最短路径: ![屏幕录制2024-05-08 17 50 34](https://github.com/antvis/G6/assets/102511291/85ae38e1-a739-4c12-b39f-c314d2001ece)

* 完善教程文档 / Perfect Manual Docs

### 问题描述 tooltip 展示的数据需要从后端获取 不想鼠标一滑动就获取展示 tooltip ,当鼠标不动的一段时间后展示tooltip。希望 tooltip 增加配置延迟显示功能 ### 重现链接 无 ### 重现步骤 无 ### 预期行为 无 ### 平台 无 ### 屏幕截图或视频(可选) _No response_ ### 补充说明(可选) _No response_

### 问题描述 我想要edge在最底层,但如链接所示,`groupByTypes: false`时,对edge isBack似乎无效果。combo内的连线在node底下,而外边的又在上边,这个怎么弄? ### 重现链接 [codesandbox](https://codesandbox.io/p/sandbox/adoring-clarke-hn8q22?file=%2Findex.js%3A20%2C14-21%2C25&layout=%257B%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522horizontal%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522ROOT_LAYOUT%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522UNKNOWN%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522clvw7jgv200063j6g0qanbtqm%2522%252C%2522sizes%2522%253A%255B100%252C0%255D%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522EDITOR%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522EDITOR%2522%252C%2522id%2522%253A%2522clvw7jgv100023j6gdd3m0m10%2522%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522direction%2522%253A%2522horizontal%2522%252C%2522id%2522%253A%2522SHELLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522SHELLS%2522%252C%2522id%2522%253A%2522clvw7jgv100033j6gj62v28tw%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%257D%252C%257B%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522direction%2522%253A%2522vertical%2522%252C%2522id%2522%253A%2522DEVTOOLS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522contentType%2522%253A%2522DEVTOOLS%2522%252C%2522id%2522%253A%2522clvw7jgv100053j6g598kpti2%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%255D%252C%2522sizes%2522%253A%255B50%252C50%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522clvw7jgv100023j6gdd3m0m10%2522%253A%257B%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clvw7jgv100013j6gfqe2oivj%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522FILE%2522%252C%2522filepath%2522%253A%2522%252Findex.js%2522%252C%2522state%2522%253A%2522IDLE%2522%252C%2522initialSelections%2522%253A%255B%257B%2522startLineNumber%2522%253A20%252C%2522startColumn%2522%253A14%252C%2522endLineNumber%2522%253A21%252C%2522endColumn%2522%253A25%257D%255D%257D%255D%252C%2522id%2522%253A%2522clvw7jgv100023j6gdd3m0m10%2522%252C%2522activeTabId%2522%253A%2522clvw7jgv100013j6gfqe2oivj%2522%257D%252C%2522clvw7jgv100053j6g598kpti2%2522%253A%257B%2522id%2522%253A%2522clvw7jgv100053j6g598kpti2%2522%252C%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clvw7jgv100043j6gcxgctt3c%2522%252C%2522mode%2522%253A%2522permanent%2522%252C%2522type%2522%253A%2522UNASSIGNED_PORT%2522%252C%2522port%2522%253A0%252C%2522path%2522%253A%2522%252F%2522%257D%255D%252C%2522activeTabId%2522%253A%2522clvw7jgv100043j6gcxgctt3c%2522%257D%252C%2522clvw7jgv100033j6gj62v28tw%2522%253A%257B%2522tabs%2522%253A%255B%255D%252C%2522id%2522%253A%2522clvw7jgv100033j6gj62v28tw%2522%257D%257D%252C%2522showDevtools%2522%253Atrue%252C%2522showShells%2522%253Afalse%252C%2522showSidebar%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A15%257D) ### 重现步骤 如上 ### 预期行为 正常 ### 平台 - 操作系统: Windows - 网页浏览器: Google Chrome - G6 版本: 最新 ### 屏幕截图或视频(可选) _No...

### Describe the bug 开启drag-combo,通过拖动combo内的空白区域调整combo位置,鼠标松开后没有触发shouldEnd ### Your Example Website or App https://g6.antv.vision/zh/examples/interaction/combo/#rect ### Steps to Reproduce the Bug or Issue 1. 官网demo可复现,测试代码如下: ```js { type: 'drag-combo', enableDelegate: false, shouldEnd(e) {...

### 问题描述 quadratic 连线过长时,靠近节点附近的部分 不能触发 edge:mouseenter line类型的 就没有这个问题 ### 重现链接 https://codesandbox.io/s/mutable-sea-e3hq27?file=/index.js ### 重现步骤 重现连接里,两条线,一条是quadratic,一条是line, edge:mouseenter的时候会添加高亮样式, 连线靠近节点的部分,line能触发mouseenter,quadratic不能 ### 预期行为 期望quadratic类型的连线过长时,靠近节点附近的部分也能正常触发mouseenter事件 ### 平台 - 操作系统: [macOS] - 网页浏览器: [Google Chrome, Safari] -...

stale

* Update to latest `@antv/[email protected]` which supports string `marker` in Category items. * `anchor` attribute is removed. But we can modify path in symbols instead, an offset of half width...

### 问题描述 layout: { type: 'comboCombined', groupByTypes: true, preventOverlap: true, spacing: 20, outerLayout: new G6.Layout['dagre']({ rankdir: 'LR', sortByCombo: false, ranksep: 100, nodesep: 50, }), innerLayout: new G6.Layout['grid']({ cols: 5, preventOverlap:...

stale