iVis-at-Bilkent / cytoscape.js-expand-collapse

A Cytoscape.js extension to expand/collapse nodes for better management of complexity of compound graphs
MIT License
126 stars 37 forks source link

Undefined variable in 'expandCollapseUtilities.js' #133

Closed bensonnw closed 2 years ago

bensonnw commented 2 years ago

Go to line 745 of the file,

edgesTypeField = options.edgeTypeInfo instanceof Function ? edgeTypeField : options.edgeTypeInfo;, the variable edgeTypeField after the question mark is undefined, it should be edgesTypeField

There is a runtime error whenever using option with edgeTypeInfo

hasanbalci commented 2 years ago

@bensonnw Thanks for noticing us. The bug is fixed in the unstable branch and will be available in the master branch with the next release.