vis-network-multiselect
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

vis-network-multiselect

Adds right-click rectangle-based multiselection to vis-network.

Usage

import multiselect from 'vis-network-multiselect';

// Just call once :

const remove = multiselect({
  container, // The DOM container of the network
  network, // The vis.Network instance
  nodes, // The vis.DataSet instance for nodes
  strokeColor, // The border color of the selection rectangle
  fillColor // The fill color of the selection rectangle
});

// And if you want to remove it :

remove();

Package Sidebar

Install

npm i vis-network-multiselect

Weekly Downloads

6

Version

2.1.0

License

MIT

Unpacked Size

9.09 kB

Total Files

6

Last publish

Collaborators

  • strblr