afiore/gexf.rb — pull request #1 by erikdoe (2013-04-23 11:53:10+00:00)
Title: Adding edge weights to XML output

The weight of an edge should be specified as an attribute of the XML edge node, not in a nested custom attribute, i.e. it should look as follows:

This change adds the edge weight to the edge's hash, which results in the desired output.