Commit bd50d5d2 authored by PkSM3's avatar PkSM3

recenter graph when delete nodes

parent 41cf3778
......@@ -38,7 +38,7 @@ function modify_ngrams( classname ) {
delete Nodes[i]
}
partialGraph.refresh()
partialGraph.draw()
partialGraph.zoomTo(partialGraph._core.width / 2, partialGraph._core.height / 2, 0.8).draw();
});
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment