summaryrefslogtreecommitdiff
path: root/tests/base.js
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-10-26 15:34:56 +0200
committerAlon Levy <alon@pobox.com>2014-10-26 15:34:56 +0200
commit3298ff6d6e1f7e6ac9131dc76c74ee3b3582b8ef (patch)
treeab0bad811bd3783ae9ab42c105ecdfb779fe7d7e /tests/base.js
parent379a066ddeb72012788f3f56fcec7bcf795b9ad9 (diff)
tests: print link label in graphviz output
Diffstat (limited to 'tests/base.js')
-rw-r--r--tests/base.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/base.js b/tests/base.js
index 910bd97e..6ec22cf6 100644
--- a/tests/base.js
+++ b/tests/base.js
@@ -30,7 +30,7 @@ function dump_graphviz(force) {
}
for (i = 0 ; i < links.length; ++i) {
var link = links[i];
- console.log(' ' + q(link.source.name) + ' -> ' + q(link.target.name) + ';');
+ console.log(' ' + q(link.source.name) + ' -> ' + q(link.target.name) + ' [label=' + link.name + '];');
}
console.log('}');
}