diff --git a/html/force.css b/html/force.css index 736e3aa..435e8da 100644 --- a/html/force.css +++ b/html/force.css @@ -17,3 +17,7 @@ line.link { display: block; vertical-align: middle; } + +#chart { + background-image: url(gplaypattern.png); +} diff --git a/html/force.js b/html/force.js index 43360f5..f036ba0 100644 --- a/html/force.js +++ b/html/force.js @@ -42,7 +42,7 @@ d3.json("nodes.json", function(json) { .data(json.links) .enter().append("line") .attr("class", "link") - //.style("stroke-width", function(d) { return Math.min(1, d.strength * 2); }) + .style("stroke-width", function(d) { return Math.min(1, d.strength * 2); }) .attr("x1", function(d) { return d.source.x; }) .attr("y1", function(d) { return d.source.y; }) .attr("x2", function(d) { return d.target.x; }) diff --git a/html/gplaypattern.png b/html/gplaypattern.png new file mode 100644 index 0000000..ae673c4 Binary files /dev/null and b/html/gplaypattern.png differ