feat: add forceatlas2layout

This commit is contained in:
AlbertAZ1992 2021-03-24 10:41:08 +08:00 committed by Yanyan Wang
parent cf82309da8
commit c39af46dcc
2 changed files with 4 additions and 1 deletions

View File

@ -77,7 +77,7 @@
"@antv/g-mobile": "0.0.1-beta.7", "@antv/g-mobile": "0.0.1-beta.7",
"@antv/g6-core": "*", "@antv/g6-core": "*",
"@antv/hierarchy": "^0.6.2", "@antv/hierarchy": "^0.6.2",
"@antv/layout": "0.1.7-beta.1", "@antv/layout": "0.1.11",
"@antv/matrix-util": "^3.0.4", "@antv/matrix-util": "^3.0.4",
"@antv/path-util": "^2.0.3", "@antv/path-util": "^2.0.3",
"@antv/scale": "^0.3.1", "@antv/scale": "^0.3.1",

View File

@ -0,0 +1,3 @@
import { ForceAtlas2Layout } from '@antv/layout/lib/layout/forceAtlas2';
export default ForceAtlas2Layout;