This repository houses the code written during the creation of This Video , the first in a series of videos about using graph algorithms to organize a wiki. The videp describes how to parse a WorldAnvil Wiki for articles and links between articles and describes how to make and display a graph using that information.
This repository is composed of two Python files: get_article_info.py
to parse the wiki and make_graph.py
to make and display the graph.
In the next video, which can be found here , I discuss how to make a reading order from the graph. To do this, I develop an algorithm similar to Kahn's algorithm that can handle cycles. The code I developed for this can be found here: https://github.com/EricKnocklein/Algorithmic-Reading-Order-2