layout icon indicating copy to clipboard operation
layout copied to clipboard

Layout algorithms for graphs.

Results 79 layout issues
Sort by recently updated
recently updated
newest added

大家好, 最近我们准备启动 **Layout Revamp 1.3** 改造计划,对底层布局库做一轮系统治理和质量提升。 这次升级**不会带来兼容性**问题,主要聚焦在内部结构优化、工程规范完善,以及性能与文档体系的补齐。 > 💡 这个 issue 用来公开同步计划、收集反馈和讨论方案。 如果你在使用 layout 时遇到过痛点、疑惑或有改进建议,都非常欢迎在这里留言。 --- ### 背景与动机 目前 layout 库存在一些明显的历史包袱: * 有超过 **60 个 issue**(包括 bug 和 feature)长期未收敛 *...

官方示例链接:https://g6.antv.antgroup.com/manual/whats-new/feature#-%E9%AB%98%E6%80%A7%E8%83%BD%E5%B8%83%E5%B1%80 报错内容如图,请问这是为什么

![image](https://github.com/user-attachments/assets/d1967088-2d20-456d-8835-d21f22aa4b10) x6的层级布局DagreLayout 这两个节点是平级的 但是之间有连线 后者就变成子节点了放在下面了如何解决

layout/antv-dagre

![image](https://github.com/user-attachments/assets/202035f3-23c6-41be-8101-ce031c50de8a) ![image](https://github.com/user-attachments/assets/bbf56b8f-7977-46dd-9cf6-748b84c70b2d)

layout/antv-dagre

![Image](https://github.com/user-attachments/assets/1388eef0-2f9b-4f8c-86dd-001afc96dd8e) ![Image](https://github.com/user-attachments/assets/afffbbcf-1ecb-496d-b0f2-96f0d8ec5d9d) v5版本的ant-darge布局效果和0.8.5版本不一致,因为v5版本初始化节点内顺序的initOrder调用g.dfsTree方法,dfsTree方法依赖g.treeIndices,dag布局下g.treeIndices是没有数据的,导致布局的深度优先遍历,变成了广度优先遍历。 const data = { nodes: [ { id: 'B' }, { id: 'C' }, { id: 'D' }, { id: 'E' }, { id: 'F' }, {...

layout/antv-dagre

Currently trying to run `import * as layoutWasm from '@antv/layout-wasm'` produces an error `ReferenceError: self is not defined` since the `index.min.js` contains references to `self` and expects to be run...

layout-wasm

Reproduction here: https://stackblitz.com/edit/vitejs-vite-9siuwfqk?file=index.html When the radial layout algorithm is run with preventOverlap turned on inside a Web Worker, some of the coordinates returned are set to NaN.

layout/radial

When I install `layout-gpu` to use GPU accelerated algorithms, they run fine in my react app, but when I run a test command I get this error `Error: Cannot find...

layout-gpu

有最新版本的vite与layout-wasm的示例吗,readme文档给的版本有点老了