Search code examples
javascriptnetworkinggraphdata-visualizationchap-links-library

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


Solution

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

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