Hi again,
I’m experiencing a problem with the conversion of link points. I have a binding to the points property on the data of my links. I’m saving it in alternating coordinates ([x,y,x,y,…]). I have a function which converts the link points to this format, but when i drag a node, it only updates once.
I have a codepen example
I tried to move the moment of conversion to anywhere after the dragging, and then there is no problem, but the points get saved in an unusable format
edit
This one i have figured out, it is because i make a copy using. That was the reason i wanted the conversion in the twowaybinding
JSON.parse(JSON.stringify(object))
end edit
Ja: true
Kd: null
Y: 6
__gohashid: 49862
fo: null
p: Array[6]
0: Object
Ja: true
L: 270
M: 96
__proto__: Object
1: Object
2: Object
3: Object
4: Object
5: Object
length: 6
__proto__: Array[0]
__proto__: Object
Tim