mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-25 20:37:53 +08:00
diagnostics/d3/view: added chord viewer hash
This commit is contained in:
parent
b9f828e1e3
commit
dd409fb151
@ -55,7 +55,7 @@ d3.json(hash, function(error, data) {
|
||||
.attr("dy", ".31em")
|
||||
// .attr("text-anchor", function(d) { return d.x < 180 ? "start" : "end"; })
|
||||
// .attr("transform", function(d) { return d.x < 180 ? null : "rotate(180)"; })
|
||||
.text(function(d) { return truncate(d.name, 16); });
|
||||
.text(function(d) { return d.name; });
|
||||
|
||||
var p = projection
|
||||
var link = svg.selectAll(".link")
|
||||
|
||||
@ -8,7 +8,9 @@ cat >"$file"
|
||||
hash=$(ipfs add -q "$file" </dev/null | tail -n1)
|
||||
|
||||
# this viewer is the hash of go-ipfs/diagnostics/d3/viewer.html
|
||||
viewer="QmaY6Lq9MEhDfWUc1VfHcu9aLWSyvi4VDLvWQXLoVZ4Mau"
|
||||
force="QmaY6Lq9MEhDfWUc1VfHcu9aLWSyvi4VDLvWQXLoVZ4Mau"
|
||||
chord="QmVGcat7ieYqf8mwcvwACbJstCRH8m8k2Yyt2qhuFEMoAz"
|
||||
viewer="$chord"
|
||||
|
||||
# the ipfs gateway to use
|
||||
gatewayHTTP="http://ipfs.benet.ai:8080"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user