maj
This commit is contained in:
+3
-3
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user