🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

visualize_inheritance

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

visualize_inheritance

1.0.0
Version published
Maintainers
1
Created

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

FAQs

Package last updated on 12 Dec 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts