code: function attachNeighborIteratorCreator(Class, description) {
    const {
      name,
      type,
      direction
    } = description;
  
    const iteratorName = name.slice(0, -1) + 'Entries';
  
    /**
     * Function returning an iterator over all the relevant neighbors.
     *
     * @param  {any}      node     - Target node.
     * @return {Iterator}
     *
     * @throws {Error} - Will throw if there are too many arguments.
     */
    Class.prototype[iteratorName] = function(node) {
  
      // Early termination
      if (type !== 'mixed' && this.type !== 'mixed' && type !== this.type)
        return Iterator.empty();
  
      node = '' + node;
  
      const nodeData = this._nodes.get(node);
  
      if (typeof nodeData === 'undefined')
        throw new NotFoundGraphError(`Graph.${iteratorName}: could not find the "${node}" node in the graph.`);
  
      // Here, we want to iterate over a node's relevant neighbors
      return createNeighborIterator(
        type === 'mixed' ? this.type : type,
        direction,
        nodeData
      );
    };
  }
docs: Function attaching a neighbors callback iterator method to the Graph prototype.
  
  @param {function} Class       - Target class.
  @param {object}   description - Method description.