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