Welcome to the online interactive knowledge graph! Click on the image below to check out the Reinforcement Learning graph in action. Note that the text in the graph is also clickable, so you can easily navigate to different topics.
It is important to note that the Reinforcement Learning graph was created for demonstration purposes and may not be entirely accurate due to the limited time (several hours) available for its construction.
To create your own knowledge graph, follow these steps:
-
Install Pandoc - a universal document converter that we use to convert the Markdown files to HTML.
-
Install Graphviz - an open-source graph visualization software that we use to generate the graph. To install Graphviz on Ubuntu, use the following command:
sudo apt install graphviz
-
Clone this repository:
git clone https://github.com/Weizhe-Chen/KnowledgeGraph.git
-
Add a new Markdown file explaining a concept (e.g.,
concept_a.md
) or a relationship (e.g.,from_a_to_b.md
). Use the following format for the file:--- title: "Concept A" --- Describe your understanding of this concept or its relationship with other concepts.
-
Add the concept or relationship to the graph. Modify
index.dot
using your favorite text editor.- To add a concept:
"Concept A" [href="./html/concept_a.html"];
- To add a relationship:
// we can also make the edge label clickable by adding href attribute. "Concept A" -> "Concept B" [label="is"]
- To add a concept:
-
Build the graph.
make
-
Open the graph. Simply open the generated
index.html
file or you can use theopen.sh
script to open the graph in your default browser:./open.sh
-
If you would like to share your knowledge graph online, like this website, follow these steps:
- Fork this repository via the upper-right button.
- Go to your forked repository.
- Find the Settings option on the top
- Select Pages in the left panel.
- Select main in the Branch section and save it to enable your GitHub Pages.
- Enable Enforce HTTPS.
- Now your knowledge graph can be accessed via
https://your-github-user-name.github.io/KnowledgeGraph/index.html
.
If you find this repository useful, please consider giving it a ⭐. Your support helps keep the project active and up to date. Thanks for your support!
We would like to thank the following tools and resources for making this project possible: