Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/SciRuby/networkx.rb
A Ruby implementation of Python's well known Graph library "networkx"
https://github.com/SciRuby/networkx.rb
network-graph networkx ruby ruby-gem
Last synced: 3 months ago
JSON representation
A Ruby implementation of Python's well known Graph library "networkx"
- Host: GitHub
- URL: https://github.com/SciRuby/networkx.rb
- Owner: SciRuby
- License: mit
- Created: 2017-11-14T12:53:45.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2023-02-23T03:41:07.000Z (over 1 year ago)
- Last Synced: 2024-05-01T13:50:17.595Z (6 months ago)
- Topics: network-graph, networkx, ruby, ruby-gem
- Language: Ruby
- Homepage: https://SciRuby.github.io/networkx.rb
- Size: 831 KB
- Stars: 31
- Watchers: 5
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
- data-science-with-ruby - networkx
README
# NetworkX.rb
[![Gem Version](https://badge.fury.io/rb/networkx.svg)](https://badge.fury.io/rb/networkx)
[NetworkX](https://networkx.github.io/) 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](#installing)
- [Usage](#Usage)
- [Document](#document)
- [Contributing](#contributing)
- [License](#license)## Installing
- install it yourself as:
```console
$ gem install networkx
```- Or use Bundler & Gemfile
1. add this line to your application's Gemfile:
```ruby
gem 'networkx'
```
2. And then execute:
```console
$ bundle install
```## Usage
```ruby
require 'networkx'g = NetworkX::Graph.new
g.add_edge('start', 'stop')
```## Document
You can read [Document](https://SciRuby.github.io/networkx.rb/) for this library.
## Contributing
Your contributions are always welcome!
Please have a look at the [contribution guidelines](.github/CONTRIBUTING.md) first. :tada:## License
The MIT License 2017 - [Athitya Kumar](https://github.com/athityakumar).
Please have a look at the [LICENSE.md](LICENSE.md) for more details.