Giter Club home page Giter Club logo

rfc-graph's Introduction

RFC Graph

How the rfc are referencing each other ?

let (rfcs_linked, status) = rfc_graph::RfcGraph::get(5322, 3).await;
println!("{rfcs:?} {status:?}");
$> cargo run -- -h
rfc-graph 0.1.1

USAGE:
    rfc-graph [OPTIONS] --root <ROOT>

OPTIONS:
    -h, --help                             Print help information
        --recursion-max <RECURSION_MAX>    Number of recursive iteration max [default: 2]
        --root <ROOT>                      Number of the first rfc page in the graph (root)
    -V, --version                          Print version information

Output generated:

  • cache.json : a HashMap<i32, Vec<i32>> with key is the rfc source and values are the rfc referenced
  • input.dot : a representation of the graph generated following the dot format by graphviz
  • output.svg : a svg version of the dot graph
$> cargo run -- --root 5322 --recursion-max 1

rfc 5322 one recursion

$> cargo run -- --root 5322 --recursion-max 2

rfc 5322 two recursion

The referencing in the rfcs are exponential, so you might not want to run with --recursion-max 4

Color

Status Color
Unknown โฌœ
Draft ๐ŸŸฅ
Informational ๐ŸŸง
Experimental ๐ŸŸจ
Best Common Practice ๐ŸŸช
Proposed Standard ๐ŸŸฆ
Draft Standard (old designation) :cyan:
Internet Standard ๐ŸŸฉ
Historic โฌ›
Obsolete ๐ŸŸซ

Leaf node status is unknown as the web scraping is not done for them

Next Features

I would like to add the following features :

  • display the title of the rfc
  • improve the graph view (for huge graph readability)
  • render the status of the leaf node

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.