layout
layout copied to clipboard
Layout algorithms for graphs.
The release note information in the Github repository seems to have stopped updating after version `0.1.3`, but the current package version has been updated to `0.1.10`, I can't directly know...
The production environment generates a lot of debugging information
npm平台安装layout库 在layout.min.js文件包含不支持IE11的箭头函数, 而在lib下没有箭头函数,导致生产环境下IE11报错,是否能够支持IE11的运行环境 ![image](https://user-images.githubusercontent.com/38740691/190958473-94cb8fc3-16ce-4b41-a80b-b9680a79da19.png)
react中使用layout时,属性无法扩展报错,是不支持react吗 报错信息:Cannot add property x, object is not extensible 报错代码: nodes[i].x = coord.x! + dBegin[0]; nodes[i].y = coord.y! + dBegin[1];
G6中使用GForce布局 同样的data和config,仅布局方式不同 CPU单线程布局:(`gpuEnabled: false, workerEnabled: false`) GPU布局:(`gpuEnabled: true, workerEnabled: false`) 有几条边特别长,不可用 可以用[这个仓库](https://github.com/zhenya-zhu/graph-playground)复现。 `npm i`然后`npm run dev`即可
项目结构,基于 `yarn workspace` 的 monorep: * `@antv/layout` CPU 版本布局实现,更好地组织 WebWorker 相关代码 * `@antv/layout-gpu` GPU 版本布局实现 * `@antv/layout-wasm` Rust 实现并输出成 WASM 形式 为了方便查看可以过滤掉 `Deleted files` 依赖 `@antv/graphlib`,暂时使用 `yarn link` https://github.com/antvis/graphlib/pull/6 使用到的...
- [x] Grid `sortBy` function - [ ] Concentric `sortBy` function - [ ] Radial `sortBy` function
如下图所示,怎么才能使节点“3”和节点“2”在X方向上对齐,是有相关的配置吗? ![antv](https://github.com/antvis/layout/assets/71997098/dfb5cadf-33f2-4195-91da-2cfff303741e)
% cargo run --example basic error: no example target named `basic`.