VisualizeInheritance
VisualizeInheritance is a gem that creates a visualization of the class structure of an app. It couples a simple Bash script and a D3 force directed graph through Ruby.
Installation
Add this line to your application's Gemfile:
gem 'visualize_inheritance'
And then execute:
$ bundle
Or install it yourself as:
$ gem install visualize_inheritance
Usage
In order to create a visualization of the class structure, first, create a ruby script in the home directory. Add the following lines to the script:
$ VisualizeInheritance.csv
$ VisualizeInheritance.write_index
$ VisualizeInheritance.graph
Then, run the ruby script. It will create a force directed graph in a new browser window.
Contributing
- Fork it ( https://github.com/cmvandrevala/visualize_inheritance/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request