Topo2: Adding peer region node to the topology

Change-Id: I846d2f1ca27faa4602c772aba006f5be55da6106
diff --git a/web/gui/src/main/webapp/app/view/topo2/topo2NodeModel.js b/web/gui/src/main/webapp/app/view/topo2/topo2NodeModel.js
index 94ab15f..9d46494 100644
--- a/web/gui/src/main/webapp/app/view/topo2/topo2NodeModel.js
+++ b/web/gui/src/main/webapp/app/view/topo2/topo2NodeModel.js
@@ -93,6 +93,17 @@
 
                     return selected;
                 },
+                index: function () {
+
+                    var models = this.collection.models,
+                        id = this.get('id');
+
+                    var index = _.find(models, function (model, i) {
+                        return model.get('id') === id;
+                    });
+
+                    return index || models.length;
+                },
                 deselect: function () {
                     this.set('selected', false);
                 },