diff options
| author | Matt Torok | 2014-02-12 01:10:49 -0800 |
|---|---|---|
| committer | Mike McQuaid | 2014-02-12 11:40:40 +0000 |
| commit | 3320f12f765e2a56cc9af81c8a69fc66475342d4 (patch) | |
| tree | d777ab5e24ca35b0f864070be1cc6354de67375e /Library/Homebrew | |
| parent | ae69fa25cc009be165e7495ed3ea3aab48ca5cc1 (diff) | |
| download | brew-3320f12f765e2a56cc9af81c8a69fc66475342d4.tar.bz2 | |
brew-graph: improve formatting.
This commit adds additional formatting options to the graph. Most noticeable is a top-to-bottom layout (rather than the previous left-to-right), and nicer fonts on everything.
More subtly, the ranking mechanism has been updated so that the "Safe to Remove" cluster is always at the highest rank (fixing a bug where non-leaf nodes could have been placed next to it,) and added better margins and padding. The rank separation was also decreased for a more compact graph.
Under the hood, the GraphViz output code was updated to support attributes with a list of sub-attributes (for example, 'graph [fontsize="11", fontname="Helvetica"]') and to not put quotes around HTML-like labels in clusters.
Closes Homebrew/homebrew#26651.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew')
0 files changed, 0 insertions, 0 deletions
