docs: function(id) {
      if(this.hasNode(id)) {
        delete this.nodes[id];
        var adjs = this.edges[id];
        for(var to in adjs) {
          delete this.edges[to][id];
        }
        delete this.edges[id];
      }
    }