updated vis-network and fixed dragevent update

This commit is contained in:
Mattijs Vanhaverbeke
2020-05-16 15:48:52 +02:00
parent 33d7157b12
commit 44e82c0286
6 changed files with 7 additions and 9 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ var options = {
interaction: {
hover: true,
hoverConnectedEdges: true,
multiselect: true
multiselect: false
},
nodes: {
shape: 'image',
@@ -201,7 +201,7 @@ function handleButtonPress() {
$.each(dragged, function (node_id, coordinates) {
$("#coordstatus").html('');
if ($('#checkSaveCoordinates').is(":checked")) {
nodes.update({ id: node_id, physics: false });
//nodes.update({ id: node_id, physics: false });
$.ajax({
url: "../../api/plugins/topology-views/save-coords/save_coords/",
type: 'POST',