Added fabicon.ico
diff --git a/web/js/onos-topology.js b/web/js/onos-topology.js
index 7bee4c0..aee3eaf 100644
--- a/web/js/onos-topology.js
+++ b/web/js/onos-topology.js
@@ -201,7 +201,12 @@
circle.append("title")
.text(function(d) { return d.name; });
- circle.attr("fill", function(d) { if (d.group == 0){return "blue";}else{ return "gray"; }})
+ circle.attr("fill", function(d) {
+ if (d.group == 1){return "red";}
+ else if (d.group == 2){return "blue";}
+ else if (d.group == 3){return "green";}
+ else{ return "gray"; }
+ });
force.on("tick", tick);
path.exit().remove();
@@ -233,7 +238,12 @@
circle.attr("transform", function(d) {
return "translate(" + d.x + "," + d.y + ")";
})
- circle.attr("fill", function(d) { if (d.group == 0){return "blue";}else{ return "gray"; }});
+ circle.attr("fill", function(d) {
+ if (d.group == 1){return "red";}
+ else if (d.group == 2){return "blue";}
+ else if (d.group == 3){return "green";}
+ else{ return "gray"; }
+ });
// text.attr("x", function(d) { return d.x; }).attr("y", function(d) { return d.y; });
// text.attr("x", function(d) { return d.x; }).attr("y", function(d) { return d.y; });
text.attr("transform", function(d) {