🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

vis-network-multiselect

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vis-network-multiselect

Add right-click rectangle-based multiselection to vis-network

latest
Source
npmnpm
Version
2.1.0
Version published
Maintainers
1
Created
Source

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();

Keywords

vis

FAQs

Package last updated on 05 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts