index.html displays an adjacency list of the graph for the comic. Each row has an image, followed by a list of images inside it.
updateImageGraph.js is a nodejs script to update graph.json with changes from the xkcd website.
a working version is here