jacomyal/sigma.js — pull request #6 by Raibaz (2012-03-27 12:13:48+00:00)
Title: Weight parsing in gexf file loading

The gexf parser currently ignores the weight attribute on edges; i implemented a tiny change to have it store the value of the attribute in the edges, both in the "attr" field and in the edge weight; when it's not present or it cannot be determined, the default value of 1 is used.