We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30503ad commit 0896a3dCopy full SHA for 0896a3d
1 file changed
src/graph-builder/graph-core/2-canvas.js
@@ -7,6 +7,7 @@ class GraphCanvas extends Core {
7
8
resetZoom() {
9
this.cy.reset();
10
+ this.cy.center();
11
}
12
13
setOnZoom(cb) {
0 commit comments