Added pair of nodes in the testing map.

This commit is contained in:
mdtrooper 2016-02-09 16:52:34 +01:00
parent ef1d7e22bc
commit 64e3488ea5
1 changed files with 20 additions and 4 deletions

View File

@ -30,19 +30,35 @@ MapController.prototype.init_map = function() {
svg.append("g").append("circle")
.attr("id", "node_10")
.attr("class", "node")
.attr("cx", "100")
.attr("cy", "100")
.attr("cx", "20")
.attr("cy", "20")
.attr("style", "fill: rgb(128, 186, 39);")
.attr("r", "5");
svg.append("g").append("circle")
.attr("id", "node_11")
.attr("class", "node")
.attr("cx", "200")
.attr("cy", "200")
.attr("cx", "20")
.attr("cy", "780")
.attr("style", "fill: rgb(255, 0, 0);")
.attr("r", "10");
svg.append("g").append("circle")
.attr("id", "node_12")
.attr("class", "node")
.attr("cx", "780")
.attr("cy", "780")
.attr("style", "fill: rgb(255, 255, 0);")
.attr("r", "10");
svg.append("g").append("circle")
.attr("id", "node_12")
.attr("class", "node")
.attr("cx", "780")
.attr("cy", "30")
.attr("style", "fill: rgb(255, 0, 255);")
.attr("r", "10");
this.init_events();
};