layout
layout copied to clipboard
Layout algorithms for graphs.
大家好, 最近我们准备启动 **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 报错内容如图,请问这是为什么
 x6的层级布局DagreLayout 这两个节点是平级的 但是之间有连线 后者就变成子节点了放在下面了如何解决
 
  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' }, {...
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...
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.
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...
有最新版本的vite与layout-wasm的示例吗,readme文档给的版本有点老了