riccardo.tasso riccardo.tasso - 14 days ago 8
Javascript Question

Multiple node selection in vis.js

I'm playing with vis.js because I like its Network Visualization module. I'd like to know, as I can't find it in documentation, if it's possibile to select multiple nodes.

Cheers,

Riccardo

Answer

Search for "selectable" property in documentation at http://visjs.org/docs/network.html

If true, nodes in the network can be selected by clicking them. Long press can be used to select multiple nodes.