rfdonnelly / crate-galaxy-graph

Graph generator for https://rfdonnelly.github.io/crate-galaxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crates.io ngraph

Creates a dependency graph of all crates on crates.io for visualization in Code Galaxies.

Build Status

Dependencies

For creating a ngraph for crates.io:

  • Rust
  • NodeJS

For deploy:

  • Ruby

Steps

  1. Create a GraphViz digraph for crates.io

    cargo run --release > out.dot
  2. Convert GraphViz to ngraph

    (cd ngraph && npm install)
    ngraph/index.js out.dot
  3. Deploy

    Runs in Travis CI only.

    ./deploy

Attribution

The Rust program that generates a GraphViz digraph was forked from crates.io-graph. It was then ported to Rust 2018 and modified for input to ngraph.fromdot.

About

Graph generator for https://rfdonnelly.github.io/crate-galaxy

License:Apache License 2.0


Languages

Language:Rust 67.3%Language:Ruby 16.8%Language:JavaScript 8.3%Language:Shell 7.5%