|
|
|
|
|
|
|
|
.on("touchstart",nodeButtonClicked) |
|
|
.on("touchstart",nodeButtonClicked) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var mainRect = node.append("rect") |
|
|
var mainRect = node.append("rect") |
|
|
.attr("class", "node") |
|
|
.attr("class", "node") |
|
|
.classed("node_unknown",function(d) { return d.type == "unknown"; }) |
|
|
.classed("node_unknown",function(d) { return d.type == "unknown"; }) |
|
|
|
|
|
|
|
|
node.append("image").attr("class","node_reqerror hidden").attr("xlink:href","icons/error.png").attr("x",0).attr("y",-12).attr("width",20).attr("height",20); |
|
|
node.append("image").attr("class","node_reqerror hidden").attr("xlink:href","icons/error.png").attr("x",0).attr("y",-12).attr("width",20).attr("height",20); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
node.each(function(d,i) { |
|
|
node.each(function(d,i) { |
|
|
|
|
|
|
|
|
/**********************************************************************/ |
|
|
/**********************************************************************/ |
|
|
|
|
|
|
|
|
d.requirementError = true; |
|
|
d.requirementError = true; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**********************************************************************/ |
|
|
/**********************************************************************/ |
|
|
|
|
|
|
|
|
if (d.dirty || d.requirementError != undefined) { |
|
|
if (d.dirty || d.requirementError != undefined) { |