File tree Expand file tree Collapse file tree 4 files changed +7
-2
lines changed
Expand file tree Collapse file tree 4 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @antv/layout" ,
3- "version" : " 0.1.19-beta.5 " ,
3+ "version" : " 0.1.19" ,
44 "description" : " graph layout algorithm" ,
55 "main" : " lib/index.js" ,
66 "module" : " es/index.js" ,
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import { FruchtermanGPULayout } from "./gpu/fruchterman";
1212import { GForceGPULayout } from "./gpu/gForce" ;
1313import { ComboForceLayout } from "./comboForce" ;
1414import { ForceAtlas2Layout } from "./forceAtlas2" ;
15+ import { ERLayout } from './er' ;
1516
1617import { Layout , Layouts } from "./layout" ;
1718
@@ -33,6 +34,7 @@ export {
3334 GForceGPULayout ,
3435 ComboForceLayout ,
3536 ForceAtlas2Layout ,
37+ ERLayout
3638} ;
3739
3840// types file
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import { FruchtermanGPULayout } from "./gpu/fruchterman";
1515import { GForceGPULayout } from "./gpu/gForce" ;
1616import { ComboForceLayout } from "./comboForce" ;
1717import { ForceAtlas2Layout } from "./forceAtlas2" ;
18+ import { ERLayout } from "./er" ;
1819export class Layout {
1920 public readonly layoutInstance : Base ;
2021
@@ -66,4 +67,5 @@ export const Layouts: { [key: string]: any } = {
6667 random : RandomLayout ,
6768 'gForce-gpu' : GForceGPULayout ,
6869 'fruchterman-gpu' : FruchtermanGPULayout ,
70+ er : ERLayout ,
6971} ;
Original file line number Diff line number Diff line change @@ -367,5 +367,6 @@ export namespace ILayout {
367367 | GForceLayoutOptions
368368 | GForceGPULayoutOptions
369369 | ComboForceLayoutOptions
370- | ForceAtlas2LayoutOptions ;
370+ | ForceAtlas2LayoutOptions
371+ | ERLayoutOptions ;
371372}
You can’t perform that action at this time.
0 commit comments