Project

networkx

0.01
A long-lived project that still receives updates
A Ruby implemenation of the well-known graph library called "networkx".
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Development

~> 2.0
~> 3.0
~> 13.0
~> 1.0
~> 1.0
~> 0.0
~> 0.21
~> 0.9

Runtime

~> 0.4
~> 1.0
 Project Readme

NetworkX.rb

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
  • Usage
  • Document
  • Contributing
  • License

Installing

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

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.