code: function _safeGetNode(g, u) {
      var V = g._nodes;
      if (!(u in V)) {
        throw new Error("Node not in graph: " + u);
      }
      return V[u];
    }
docs: Returns the node object for u in V or throws an error if the node does node exist.