Generate graphs with python networkx and display them with cytoscape.js.
Page reload generates a new graph.
Some useful Glitch starter info (modified from here; see also this one and this one):
-
having a
requirements.txt
file puts Glitch into Python mode, installing libraries from requirements.txt and starting fromstart.sh
(still python2 in 2021, see below for python3) -
having a
glitch.json
file puts Glitch into custom mode, installing and running whatever you've defined (e.g. this current project or glitch.com/~pyp5js-test) -
having a
package.json
file puts Glitch into Node.js mode, see e.g. glitch.com/~hello-dreams. This seems to be the most common way and has some extra support (see this one) -
(having no backend at all is a way too, as in glitch.com/~hello-basic).