Issue with ‘standard.link’ Disappearing on Multiple Clicks #2632
-
IntroductionHello, I am currently working on a project where I save the JSON string of graph elements and import them back to the graph for rendering. Recently, I encountered an issue with one of the graphs. When I click more than once on the link (‘standard.link’), the link disappears, and an error appears in the console indicating a NaN element in the path. I have cross-checked to see if there is any null or NaN in the source and target of the standard link, but I found no such link. I have tried debugging in various ways but have not been able to find a proper direction to move forward. For better understanding, I have attached a video showing how links are disappearing on the paper. I have also attached logs for console errors and an XML file which contains the JSON string of graph elements. There are many custom elements in the string, so you might not be able to directly render the graph. However, you can see the elements of standard links in the string which might be helpful for debugging. If any further information is required, please let me know. Any help or guidance would be greatly appreciated. files: Thank you. Steps to reproduceNo response Restrictions & ConstraintsNo response Does your question relate to JointJS or JointJS+. Select both if applicable.JointJS, JointJS+ |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This is a wild guess, but was the value of If yes, please provide steps to reproduce. It's not happening in any of our current examples, correct? |
Beta Was this translation helpful? Give feedback.
The
gridSize
must be> 0
currently. So it is set to1
for a reason.