antvis / layout

Layout algorithms for graphs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

现在的使用方法好像不太对吧,为什么我看到每种布局的使用方式不一样?

Joker0219 opened this issue · comments

现在的使用方法好像不太对吧,为什么我看到的是要实现 onLayoutEnd 回调函数?

比如gForce 布局,是用的 onLayoutEnd 回调函数?

在源码src/layout/gForce.ts 中,run 方法。