GitHub - SciRuby/networkx.rb: A Ruby implementation of Python's well known Graph library "networkx"

Gem Version

NetworkX is a very popular Python library, that handles various use-cases of the Graph Data Structure.
This project intends to provide a working alternative to the Ruby community, by closely mimicing as many features as possible.

List of contents

Installing

  • install it yourself as:
  • Or use Bundler & Gemfile
    1. add this line to your application's Gemfile:
    1. And then execute:

Usage

require 'networkx'

g = NetworkX::Graph.new
g.add_edge('start', 'stop')

Document

You can read Document for this library.

Contributing

Your contributions are always welcome!
Please have a look at the contribution guidelines first. 🎉

License

The MIT License 2017 - Athitya Kumar.
Please have a look at the LICENSE.md for more details.