Skip to content
This repository has been archived by the owner on Jul 29, 2019. It is now read-only.

How to deselect edges programmatically? #1670

Closed
randomilla opened this issue Feb 18, 2016 · 1 comment
Closed

How to deselect edges programmatically? #1670

randomilla opened this issue Feb 18, 2016 · 1 comment

Comments

@randomilla
Copy link

Is there a way to deselect edges programmatically?Am I supposed to use the deselectedges event?

@AlexDM0
Copy link
Contributor

AlexDM0 commented Feb 18, 2016

Hi,

Events are not methods, events are events.

Methods are functions, programmatical ways to do stuff.

http://visjs.org/docs/network/#methods

So what you do is this:

network.selectEdges([])

Cheers

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants