iVis-at-Bilkent / cytoscape.js-grid-guide

A Cytsocape.js extension to provide a framework for grid interactions such as grid lines and snapping to grid, and guidelines and snap support for alignment of nodes.
MIT License
58 stars 9 forks source link

Bug: Cannot read properties of null (reading 'each') at lines.snapToAlignmentLocation (cytoscape-grid-guide.js:2772:15) #57

Open karchjd opened 4 months ago

karchjd commented 4 months ago

For this error to appear you have to turn on "Snap to Grid on Release" and "Geometric Guidelines" in the demo. Then select multiple nodes and wait for a guideline to appear. Release and you will get the error. See movie below.

https://github.com/iVis-at-Bilkent/cytoscape.js-grid-guide/assets/8561155/6278fa01-7fc8-42c1-85a3-2b1f6c683c62