From 9d3a178e1290e5c488f17ea08de866caaf0a4dc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Tessier?= Date: Tue, 18 Sep 2018 14:49:57 +0200 Subject: [PATCH] maj --- index.html | 2 +- script/script.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/index.html b/index.html index 4397d24..41fd086 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,6 @@ - + diff --git a/script/script.js b/script/script.js index a855f17..aeb421e 100644 --- a/script/script.js +++ b/script/script.js @@ -13,14 +13,14 @@ if (error) throw error; var link = svg.append("g") - .attr("class", "links") + .attr("class", "links") .selectAll("line") .data(graph.links) .enter().append("line") - .attr("stroke-width", function(d) { return Math.sqrt(d.value); }); + .attr("stroke-width", function(d) { return Math.sqrt(d.value); }); var node = svg.append("g") - .attr("class", "nodes") + .attr("class", "nodes") .selectAll("text") .data(graph.nodes) .enter().append("text")