Browse files

Changed README.

  • Loading branch information...
1 parent 0effa43 commit 39f136331259cd1e4b36da3eb0159ac238503d22 @martido committed Mar 30, 2011
Showing with 5 additions and 4 deletions.
  1. +5 −4 README.md
View
9 README.md
@@ -1,13 +1,14 @@
-A Ruby script that creates a dependency graph of installed or all available Homebrew formulae. The currently supported output options are *Dot* and *GraphML*. The Homebrew distribution contains a similar, but functionally more extensive, [script][1] written in Python which describes the dependency graph in the Dot language.
+A Ruby script that creates a dependency graph of installed or all available Homebrew formulae. The currently supported output options are *Dot* and *GraphML*. The Homebrew distribution contains a similar, [script][1] written in Python which describes the dependency graph in the Dot language.
## Usage
Type `ruby brew-graph.rb -h` to display a list of available options.
## Requirements
You can use Graphviz to visualize Dot graphs.
-> brew install graphviz
-> brew-graph | dot -Tsvg -odependency_graph.svg
-> open dependency_graph.svg
+
+ brew install graphviz
+ brew-graph | dot -Tsvg -odependency_graph.svg
+ open dependency_graph.svg
You can use the [yEd][2] 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.

0 comments on commit 39f1363

Please sign in to comment.