code: function _edges(model, default_type) {
        var edges = [];
  
        // Iteration through edges
        _helpers.nodeListEach(_xml.els.edges, function(e) {
  
          // Creating the edge
          var properties = _helpers.namedNodeMapToObject(e.attributes);
          if (!('type' in properties)) {
            properties.type = default_type;
          }
  
          // Retrieving edge data
          if (model)
            properties.attributes = _data(model, e);
  
  
          // Retrieving viz information
          if (_xml.hasViz)
            properties.viz = _edgeViz(e);
  
          edges.push(Edge(properties));
        });
  
        return edges;
      }
docs: Edges