almende / vis

⚠️ This project is not maintained anymore! Please go to https://github.com/visjs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

visjs support edit edge callback both editWithoutDrag and editWithDrag in one instance?

kiohang opened this issue · comments

hello, visjs support edit edge callback both editWithoutDrag and editWithDrag in one instance?
  • vis.js > version 4.21.0
  • component > vis - network - manipulation - editEdge

in a project i need edit edge by editWithoutDrag and editWithDrag, when i callback like this:

var options = {
  manipulation: {
    editEdge: {
        editWithoutDrag: (data, callback) => {}
    }
  }
}

how can i editWithDrag ,looking forward to your reply!
thanks