Menu

Tree [r2] /
 History

HTTPS access


File Date Author Commit
 LICENSE.txt.asc 2006-10-27 tschoenh [r2] Added license file
 README 2006-10-27 tschoenh [r1] Adding original files
 network.rb 2006-10-27 tschoenh [r2] Added license file
 network_test.rb 2006-10-27 tschoenh [r2] Added license file
 test_network.g 2006-10-27 tschoenh [r1] Adding original files
 test_network.net 2006-10-27 tschoenh [r1] Adding original files

Read Me

VEIN - A Graph Analysis Package for Ruby
Version 0.3

Short Version for the Impatient

1. Install Ruby 1.8
2. Install Gnu Scientific Library (www.gnu.org/software/gsl/)
3. Install the Ruby bindings for GSL. I have tested VEIN with rb-gsl. (rb-gsl.rubyforge.org/)
4. Install GraphViz (www.graphviz.org) 
5. Install Ruby bindings for GraphViz (raa.ruby-lang.org/project/ruby-graphviz/)
6. Unzip the VEIN tarball and check your install by running "ruby network_test.rb"


Installing 

VEIN relies on several open source packages and will not work properly without them. I used the Gnu Scientific Library and the rb-gsl bindings to get nice matrix support. Ruby matrices, for some reason, are immutable, which is a huge pain when trying to do any linear algebra. Also, I use the phenomenal GraphViz package to do layout and visualization of the graphs. This requires the installation of GraphViz and the "experimental" ruby-graphviz bindings. See the links above.

Checking your install

Included in the distribution are two sample graphs and a test class for checking the functionality of VEIN. The test_network.net is a simple graph in the Pajek network file format and test_network.g is the same graph in the SUBDUE network format. 

Working with VEIN

I wrote VEIN to help with the analysis and visualization of large graphs. It should handle graphs up to 6 million nodes, depending on the size of your representation and how much memory is available. 

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.