I’m experiencing some strange behaviour regarding link points.
I have a diagram with several nodetypes:
- nodes that display information (lets call them objects)
- nodes only for drawing purposes (they are created with the dragcreatetool, lets call them shapes)
- textblocks for displaying text
Only objects can have links (to other objects)
The points of the links are saved so the user can reshape links the way they want.
The behaviour i’m experiencing is that when i create or edit a shape or textblock, the link points (of multiple links) are changed and the link appears somewhere else on the diagram, detached from the from and to objects.
I hope someone can help me troubleshooting this one, i could post some code but it’s quite a lot, so it’s best to ask for specific parts of the code i guess.
It seems there is something weid going on in my code that messes with the points array. So first i’ll have to try to find where the points get messed up. On loading the right coordinates get loaded but after creating the diagram the points get changed, somehow…
Haven’t found the problem, but it looks like updating go js from version 1.5.2 to 1.5.7 solved the problem, haven’t been able to reproduce it since i updated