Closed jhonatandarosa closed 9 years ago
Can't reproduce exactly; maybe this is related? https://github.com/cytoscape/cytoscape.js/issues/813
I think it was related. With the code from 2.3.8 on the debug page it occurs, but can't reproduce with the code from master too
I'm getting other errors though when I go through steps like on #813. I suspect there is another issue with style serialisation and/or style application on compound nodes in specific cases...
I think you can workaround the issue for now by using your own, separate JSON style and assigning with that to initOptions.style
in every instance. The serialised one is going down a path with a bug, it seems.
Also related: #817
I think these should all fix the issue overall.
Would you please try master or this snapshot and confirm it goes OK for you?
Snapshot: http://js.cytoscape.org/download/cytoscape.js-snapshot-8631d477ec-1422987551340.zip
Sure, I can test it tomorrow morning.
Cool; closing for now since it works for me and I want to have the milestone ready for release ASAP.
We can reopen if you notice anything wrong. Thanks
Thanks Max. It works perfectly
Good; time to release then
Steps to reproduce:
$('#cy').cytoscape(JSON.parse(json))
)TypeError occurs
Uncaught TypeError: Cannot read property 'bypass' of undefined
The property giving the error was
height
.