Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-unixfs
Commits
dd409fb1
Commit
dd409fb1
authored
Jan 14, 2015
by
Juan Batiz-Benet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
diagnostics/d3/view: added chord viewer hash
parent
b9f828e1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
diagnostics/d3/chord.html
diagnostics/d3/chord.html
+1
-1
diagnostics/d3/d3view
diagnostics/d3/d3view
+3
-1
No files found.
diagnostics/d3/chord.html
View file @
dd409fb1
...
...
@@ -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
"
)
...
...
diagnostics/d3/d3view
View file @
dd409fb1
...
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment