@cryptotaxi247 / kubo / commits / dd409fb15

diagnostics/d3/view: added chord viewer hash

Juan Batiz-Benet committed Jan 14, 2015 at 09:21 UTC dd409fb151afdb96e07f0b2b8f4496666b53e752
2 files changed +4 -2
diagnostics/d3/chord.html
+1 -1
@@ -55,7 +55,7 @@ d3.json(hash, function(error, data) {
55 .attr("dy", ".31em")
56 // .attr("text-anchor", function(d) { return d.x < 180 ? "start" : "end"; })
57 // .attr("transform", function(d) { return d.x < 180 ? null : "rotate(180)"; })
58 - .text(function(d) { return truncate(d.name, 16); });
58 + .text(function(d) { return d.name; });
59
60 var p = projection
61 var link = svg.selectAll(".link")
diagnostics/d3/d3view
+3 -1
@@ -8,7 +8,9 @@ cat >"$file"
8 hash=$(ipfs add -q "$file" </dev/null | tail -n1)
9
10 # this viewer is the hash of go-ipfs/diagnostics/d3/viewer.html
11 -viewer="QmaY6Lq9MEhDfWUc1VfHcu9aLWSyvi4VDLvWQXLoVZ4Mau"
11 +force="QmaY6Lq9MEhDfWUc1VfHcu9aLWSyvi4VDLvWQXLoVZ4Mau"
12 +chord="QmVGcat7ieYqf8mwcvwACbJstCRH8m8k2Yyt2qhuFEMoAz"
13 +viewer="$chord"
14
15 # the ipfs gateway to use
16 gatewayHTTP="http://ipfs.benet.ai:8080"