Browse Source

reverted example

v3_develop
Alex de Mulder 10 years ago
parent
commit
5a023f8077
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      examples/network/02_random_nodes.html

+ 1
- 3
examples/network/02_random_nodes.html View File

@ -77,9 +77,7 @@
}; };
var options = {stabilization:false}; var options = {stabilization:false};
network = new vis.Network(container, data, options); network = new vis.Network(container, data, options);
network.on('click', function(params) {
console.log(params)
});
// add event listeners // add event listeners
network.on('select', function(params) { network.on('select', function(params) {
document.getElementById('selection').innerHTML = 'Selection: ' + params.nodes; document.getElementById('selection').innerHTML = 'Selection: ' + params.nodes;

Loading…
Cancel
Save