aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMatt Torok2014-02-12 01:10:49 -0800
committerMike McQuaid2014-02-12 11:40:40 +0000
commit3320f12f765e2a56cc9af81c8a69fc66475342d4 (patch)
treed777ab5e24ca35b0f864070be1cc6354de67375e /Library/Homebrew
parentae69fa25cc009be165e7495ed3ea3aab48ca5cc1 (diff)
downloadbrew-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