cytoscape / cytoscape.js

Graph theory (network) library for visualisation and analysis
https://js.cytoscape.org
MIT License
9.9k stars 1.63k forks source link

Many of the demo networks are broken #3257

Open mikekucera opened 5 days ago

mikekucera commented 5 days ago

Current (buggy) behaviour

Some of the demo networks on js.cytoscape.org are just blank. This error appears in the console

code.js:6 Uncaught ReferenceError: cytoscape is not defined
    at code.js:6:3
    at code.js:17:3

Minimum steps to reproduce

Go here: https://js.cytoscape.org/#demos

These are the networks that are broken: https://js.cytoscape.org/demos/colajs-graph/ https://js.cytoscape.org/demos/tokyo-railways/ https://js.cytoscape.org/demos/circle-layout/ https://js.cytoscape.org/demos/concentric-layout/ https://js.cytoscape.org/demos/grid-layout/ https://js.cytoscape.org/demos/cose-layout/ https://js.cytoscape.org/demos/images-breadthfirst-layout/ https://js.cytoscape.org/demos/animated-bfs/ https://js.cytoscape.org/demos/node-types/ https://js.cytoscape.org/demos/edge-types/ https://js.cytoscape.org/demos/radius-types/ https://js.cytoscape.org/demos/edge-arrows/ https://js.cytoscape.org/demos/labels/ https://js.cytoscape.org/demos/compound-nodes/ https://js.cytoscape.org/demos/linkout-example/

Also this one gives a 404, which is probably not releated but worth mentioning: https://ivis-at-bilkent.github.io/cytoscape.js-cise/demo.html

For reviewers

Reviewers should ensure that the following tasks are carried out for incorporated issues:

mikekucera commented 5 days ago

Can't reproduce this locally from the master branch. Maybe its related to #3255?

maxkfranz commented 2 days ago

Yes, likely related