/WikipediaGraphViz

A desktop app that crawls and visualizes relations of Wikipedia articles.

Primary LanguagePythonMIT LicenseMIT

Contributors Forks Stargazers Issues MIT License


WikipediaGraphViz

A desktop app that crawls and visualizes relations of Wikipedia articles.

Installation

Make sure you have python3 & pip3 installed on your system

  1. Clone the repo
git clone https://github.com/dthung1602/WikipediaGraphViz/
cd WikipediaGraphViz
  1. Create & activate virtual env (or anything similar)
pip3 install virtualenv 
virtualenv venv 
source venv/bin/activate
  1. Install dependencies
pip install -r requirements.txt
  1. Start the program
python3 main.py

Usage

Start crawling

Click on crawl menu

Crawl menu

Interact with the graph

Left mouse: select & drag vertices Right mouse: drag background Mouse wheel: zoom

Change layout

⚠ WARNING Some layout algorithms take a REALLY, REALLY long time to execute on large graph (~10 000 vertices)

Example: MDS, Graphopt

Change vertices color

⚠ WARNING Some coloring algorithms take a REALLY, REALLY long time to execute on large graph (~10 000 vertices) Example: Cluster (by Edge betweenness)

Find shortest path

To find shortest path between 2 vertices, first select the Shortest path tool at the top right, then click on the 2 vertices

Search & filter vertices

Show statistics

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Duong Thanh Hung - dthung1602@gmail.com

Project Link: https://github.com/dthung1602/WikipediaGraphViz

Acknowledgements