Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Diagram changing after adding of link

$
0
0

@pavan.mehtre wrote:

I am calling “LinkDrawn” event. In that event i want to call backend api after drag and drop but i don’t want to create new link between two nodes so i am deleting those link immediately in that event only but my diagram is effecting because of adding link.

diagram.addDiagramListener(“LinkDrawn”, function(e){
var link = e.subject;
if (link.toNode.data) diagram.remove(link);
}

i am observing my nodes and links also shifting

i am hoping that i will get some help

thank you in advance.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles