Skip to content

Commit

Permalink
fix(graphin):add prevOptions when layout init
Browse files Browse the repository at this point in the history
  • Loading branch information
pomelo-nwu committed Jan 8, 2021
1 parent 5fd48b1 commit 08a8342
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"icons": "cd packages/graphin-icons && npm run start",
"site": "cd ./packages/graphin-site && npm run start",
"studio": "cd ./packages/graphin-studio && npm run start",
"docs:dev": "dumi dev",
"docs": "dumi dev",
"docs:build": "dumi build",
"docs:deploy": "npm run docs:build && gh-pages -d ./dist -r https://github.com/antvis/graphin-docs.git",
"docs:gh-pages": "gh-pages -d ./dist -r https://github.com/antvis/graphin-docs.git",
Expand Down
1 change: 1 addition & 0 deletions packages/graphin/src/layout/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class LayoutController {
this.graphin = context;
this.graph = this.graphin.graph;
this.presetLayout = null;
this.prevOptions = {};
this.init();
}

Expand Down

0 comments on commit 08a8342

Please sign in to comment.