|
@ -84,7 +84,7 @@ |
|
|
nodes: nodes, |
|
|
nodes: nodes, |
|
|
edges: edges |
|
|
edges: edges |
|
|
}; |
|
|
}; |
|
|
var options = {stabilize:false, clickToUse:true}; |
|
|
|
|
|
|
|
|
var options = {stabilize:false}; |
|
|
network = new vis.Network(container, data, options); |
|
|
network = new vis.Network(container, data, options); |
|
|
|
|
|
|
|
|
// add event listeners |
|
|
// add event listeners |
|
@ -97,12 +97,6 @@ |
|
|
network.on('startStabilization', function (params) { |
|
|
network.on('startStabilization', function (params) { |
|
|
document.getElementById('stabilization').innerHTML = 'Stabilizing...'; |
|
|
document.getElementById('stabilization').innerHTML = 'Stabilizing...'; |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
network.setData({ |
|
|
|
|
|
nodes: nodes, |
|
|
|
|
|
edges: edges, |
|
|
|
|
|
options: options |
|
|
|
|
|
}); |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|