RoutePattern.prototype.addRenderedEdge = function(rEdge) {
  if (this.renderedEdges.indexOf(rEdge) === -1) this.renderedEdges.push(
    rEdge);
};