update flags for existing nodes

alfred-data
Nils Schneider 2012-09-12 20:39:52 +02:00
parent 018b6d162b
commit c7479774df
1 changed files with 9 additions and 7 deletions

View File

@ -508,6 +508,8 @@ function update() {
.call(node_drag) .call(node_drag)
nodeEnter.append("ellipse") nodeEnter.append("ellipse")
node.selectAll("ellipse")
.attr("class", function(d) { .attr("class", function(d) {
var s = [] var s = []
for (var key in d.flags) for (var key in d.flags)