how to create new overlays when I connect two node

24 views
Skip to first unread message

jun zhou

unread,
Dec 1, 2021, 2:03:14 AM12/1/21
to jsPlumb
how to create new overlays when I connect two node?

this.jsPlumb.bind("connection", (evt) => {
   this.jsPlumb.bind("connection", (evt) => {
   let from evt.source.id
  let to = evt.target.id
   //...

})
}) 

when jsplumb finish connect event then, it will callback the connection event.but I do not know how to add custom overlay ?
Reply all
Reply to author
Forward
0 new messages