G6
G6 copied to clipboard
♾ A Graph Visualization Framework in JavaScript.
### Describe the bug / 问题描述 When using antv-dagr layout on initially collapsed combos - combos show on top of each other. When opening combo - nodes show on top...
### Describe the feature / 功能描述 目前创建边只能全局配置为一种行为(所有节点都能应用到),但是我希望在某些特定情况下指定一些节点能创建边 其他节点只能作为边的终点,为创建边的功能提供api操作,更加灵活 ### Are you willing to contribute? / 是否愿意参与贡献? ❌ No / 否
### Describe the bug / 问题描述 现象:多个node节点位置相互重叠在一起 技术:使用shift多选节点功能 bug描述,把多选的重叠节点,拖拽到combos时 失效 ### Reproduction link / 复现链接 _No response_ ### Steps to Reproduce the Bug or Issue / 重现步骤 现象:多个node节点位置相互重叠在一起 技术:使用shift多选节点功能 bug描述,把多选的重叠节点,拖拽到combos时...
### Describe the bug / 问题描述 layout failed DOMException: Failed to execute 'postMessage' on 'Worker': function () { } could not be cloned. at LayoutController.runWebworker (webpack-internal:///./node_modules/@antv/g6-pc/es/graph/controller/layout.js:500:14) at eval (webpack-internal:///./node_modules/@antv/g6-pc/es/graph/controller/layout.js:455:22) 将layout.min.js放在了dcn地址也可以访问...
### Describe the bug / 问题描述 use graph with my cusomt nodes. Some nodes amd edges are hided by graph.hideItem. When i call toFullDataURL all hided nodes and edges are...
同样的问题,vue3,G6 4.8.21, tooltip不会消失 ### ToolTip ` tooltip: new G6.Tooltip({ // offsetX: 10, // offsetY: 20, getContent(e) { const outDiv = document.createElement("div"); outDiv.style.maxWidth = "150px"; outDiv.innerHTML = ’e.item.getModel().title‘; return outDiv; },...
### Describe the bug / 问题描述 自定义节点数据量较大时(5000 - 10000个节点),初始化很慢,拖拽画布和节点卡顿很厉害。 ### Reproduction link / 复现链接 https://stackblitz.com/edit/react-zfmr8xuw?file=index.js ### Steps to Reproduce the Bug or Issue / 重现步骤 1、自定义节点较多时,初始化渲染很慢 2、已经添加了optimize-viewport-transform,拖拽画布、节点还是卡顿 3、自定义节点和线的render函数触发太频繁,如何进行节流操作 ### G6...
### Describe the bug / 问题描述 I am attempting to render a graph using the `combo-combined` layout, and I get an error when the number of combos is exactly 1....
### Describe the bug / 问题描述 useEffect(() => { if (!graphRef.current) return; const graph = new Graph({ container: graphRef.current, autoResize: false, animation: false, autoFit: "view", data: data, layout: { type:...
### Describe the feature / 功能描述 创建边的时候,从一个没有port的元素连接到有带有port的元素的连接桩时,会报错,但是如果是从元素的连接桩连接到没有port的元素就不会报错,我想知道哪里有问题 ### Are you willing to contribute? / 是否愿意参与贡献? ✅ Yes / 是