vis-network-multiselect
v2.1.0
Published
Add right-click rectangle-based multiselection to vis-network
Downloads
12
Maintainers
Readme
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();