layout icon indicating copy to clipboard operation
layout copied to clipboard

Layout algorithms for graphs.

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

![image](https://github.com/antvis/layout/assets/37073056/af3bf2ad-980e-464d-bad4-9def48d7d325) 预期 2 连接 3 与 0 连接 1 保持一致,使用水平直线,节点2 和 节点 3 的布局预期在一条水平线上 demo 地址:https://stackblitz.com/edit/react-col8k9?file=index.html,index.js

版本 `@antv/layout": "^0.3.24` ``` // 创建实例 const layout = new DagreLayout({ type: "dagre", rankdir: "LR", align: "UR", nodesep: 40, ranksep: 40, }); // 增量添加节点 layout.updateCfg({ // keepNodeOrder: true, // nodeOrder:...

[@antv/layout-wasm Webpack template with ServiceWorker hack](https://stackblitz.com/edit/github-wpncwj-fxmffg) 这个例子如果使用 layout-wasm 1.3.0以上就会报错

源码是execute方法 文档是 ``` const gridLayout = new GridLayout({ type: 'grid', width: 600, height: 400, rows: 4, cols: 4, }) const newModel = gridLayout.layout(model) ``` 就算调用execute方法,还是各种报not a function的错误。 所以,grid layout和antv x6之间的版本,文档对应的关系是怎样的?

It is clear that the model object can specify nodes and edges, and when the layout is created from it, it works perfectly. But is there a way to specify...

antv/layout 的版本 "@antv/layout": "0.3.23", const fruchtermanLayout = new FruchtermanLayout({ type: 'fruchterman', center: [this.width / 2, this.height / 2], gravity: 2, speed: 300, maxIteration: 500, workerEnabled: false, // 可选,开启 web-worker gpuEnabled:...

- 把一些依赖包也更新:`@antv/layout`

Hey all, we are getting a peer dependency warning when installing this package which we'd like to get resolved: ``` warning "@antv/layout > [email protected]" has unmet peer dependency "dagre@^0.8.5". ```...