We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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: true, // 可选,开启 GPU 并行计算,G6 4.0 支持 preventOverlap: true, animate: false, width: this.width / getZoom(), height: this.height / getZoom(), onLayoutEnd: () => { // 回调函数 }, }); this.doLayout(fruchtermanLayout, model);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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: true, // 可选,开启 GPU 并行计算,G6 4.0 支持
preventOverlap: true,
animate: false,
width: this.width / getZoom(),
height: this.height / getZoom(),
onLayoutEnd: () => {
// 回调函数
},
});
this.doLayout(fruchtermanLayout, model);
The text was updated successfully, but these errors were encountered: