Giter Club home page Giter Club logo

buildmodulenetwork's Introduction

A Fun Project

This project is about building a graph visualization of module dependencies of Hypixel SkyBlock Wiki.

How it works

  • With a user-defined list or an API requested list of all module pages as starting pages, using BFS, the program will crawl through its dependencies, dependencies of dependencies, and so on.
  • To get the dependencies, the program will first request the page content using MediaWiki's API, then detect its module dependencies.
  • The detection of module dependencies is solely string pattern detection based on how wiki users import their modules.
  • After that, it builds the nodes and edges in a directed graph.
  • Except for version 1.2, if module A imports (hense depends on) module B, an arrow will point from B to A.

How to see

  • The generated HTML is in the docs directory.
  • It is also available on my github page.

How to run

  • To generate the HTML again, there are two files (in src directory) to run:
    • makegraph.py builds the dependencies graph and save the dict in a file.
    • buildnetwork.py uses the file that makegraph provides, and builds the network visualization.

Changelog

Version Changes
1.0 Initial Publish
1.1 New color for data pages. Directed graph
1.2 New color for external pages. Fixed first letter casing. Now uses all existing modules as starting points. A change in arrow direction
1.3 Minor fixes. Reverted change in arrow direction

buildmodulenetwork's People

Contributors

monkeyshk avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.