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

When node is moved link attached to that node not saving its new points

$
0
0

@hkhire wrote:

Hi, I am facing strange behavior of my code related to dragging links example.
Problem: When I moved any node for a small distance, links attached to that nod<e also dragged.I get new points for dragged links into a model.
Original diagram:

Now I am going to move "Air gap1" node. Note that points for a link "Supplied from" to "air gap 1" is something [189.33333333333334,73,189.33333333333334,83,189.33333333333334....

After moving node "Air gap 1" for a small distance
Note that new points for link "Supplied from" to "air gap 1" is something [135,36.5,125,36.5,

Now the problem is after refreshing page diagram is


Link points are not updated. It is showing old one.[189.33333333333334,73,189.33333333333334,83,189.33333333333334....

I don't understand why this is happening because whenever I moved node for long distance it is working fine.It is behaving strangely just for short distance.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6968

Trending Articles