Skip to content

Creates a simple dependency graph of Homebrew formulae.

Notifications You must be signed in to change notification settings

jpalardy/brew-graph

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 

Repository files navigation

brew-graph

brew-graph is a Ruby script that creates a dependency graph of installed or all available Homebrew formulae. The currently supported output options are Dot and GraphML.

Installation

You can install brew-graph using the tap repository:

brew install martido/brew-graph/brew-graph

Alternatively, simply place brew-graph.rb somewhere in your $PATH as brew-graph.

Usage

If you installed using the above instructions, you can simply execute brew graph -h to see options.

If within this repository directory, type ruby brew-graph.rb -h to display the options.

Requirements

You can use Graphviz to visualize Dot graphs.

brew install graphviz
brew graph --installed | dot -Tpng -ograph.png
open graph.png

You can use the yEd graph editor to visualize GraphML markup. The created markup uses yFiles's extensions to GraphML and heavily relies on defaults to keep the output reasonably small. It contains no layout information because yEd already provides an exhaustive set of algorithms.

About

Creates a simple dependency graph of Homebrew formulae.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%