code: def add(self, routeID, edges):
          
          self._connection._beginMessage(tc.CMD_SET_ROUTE_VARIABLE, tc.ADD, routeID,
                                         1 + 4 + sum(map(len, edges)) + 4 * len(edges))
          self._connection._packStringList(edges)
          self._connection._sendExact()
docs: add(string, list(string)) -> None
  
          Adds a new route with the given id consisting of the given list of edge IDs.