summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-28 01:11:10 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-28 01:13:26 (EDT)
commit95411c70b75a2399a9b1880f0e59088a441d3b03 (patch)
treebf5f97aa3cc231b5963f8b207abff0e770051d95
parent0a8e076e522b426bcb4fd45a0ad69479a0f01943 (diff)
Add explanation to graph label
-rwxr-xr-xbin/depsdot7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/depsdot b/bin/depsdot
index 35d1d36..4dad087 100755
--- a/bin/depsdot
+++ b/bin/depsdot
@@ -78,8 +78,11 @@ sub main
localtime()) . "\n */\n\n" .
"strict digraph deps {\n" .
"\toverlap = false;\n\tsplines = true;\n\tlayout = neato;\n" .
- "\tlabel = \"ProteanOS Source Package Dependencies\";\n" .
- "\n\t/* Source packages */\n");
+ "\tlabel = <<B>ProteanOS Source Package Dependencies</B><BR/>" .
+ "\n\t\tGray nodes are leaf packages (no reverse dependencies)" .
+ "<BR/>\n\t\tGray edges are dependencies on multiple source " .
+ "packages&nbsp;\n\t\t\tthat build binaries of the same name>;" .
+ "\n\n\t/* Source packages */\n");
foreach my $src (sort(@src_pkgs)) {
my $attr = '';
if (not defined($non_leaf_src_pkgs{$src})) {