自由需要风

Results 1 comments of 自由需要风

> 我也遇到了同样的问题,我猜你和我一样安装了`@lastest`版本`1.2.14-beta.9`。 实际上,最新版本的antv/layout已经弃用了`layout()`方法,改用`execute()`方法执行布局,demo里的示例代码是这样写的: > > const graph = new Graph(data); > > const dagre = new DagreLayout({ > nodeSize: 20, > nodesep: 50, > ranksep: 70, > rankdir: 'TB', >...