| } | } | ||||
| d.inputlist = inputlist; | d.inputlist = inputlist; | ||||
| // never show these little status icons | |||||
| // people try clicking on them, thinking they're buttons | |||||
| // or some sort of user interface widget | |||||
| //node.append("path").attr("class","node_error").attr("d","M 3,-3 l 10,0 l -5,-8 z"); | //node.append("path").attr("class","node_error").attr("d","M 3,-3 l 10,0 l -5,-8 z"); | ||||
| node.append("image").attr("class","node_error hidden").attr("xlink:href","icons/node-error.png").attr("x",0).attr("y",-6).attr("width",10).attr("height",9); | |||||
| node.append("image").attr("class","node_changed hidden").attr("xlink:href","icons/node-changed.png").attr("x",12).attr("y",-6).attr("width",10).attr("height",10); | |||||
| //node.append("image").attr("class","node_error hidden").attr("xlink:href","icons/node-error.png").attr("x",0).attr("y",-6).attr("width",10).attr("height",9); | |||||
| //node.append("image").attr("class","node_changed hidden").attr("xlink:href","icons/node-changed.png").attr("x",12).attr("y",-6).attr("width",10).attr("height",10); | |||||
| }); | }); | ||||
| node.each(function(d,i) { | node.each(function(d,i) { |