Use edge weight attribute as size if set when parsing gexf files #65

merged 2 commits into from Apr 3, 2013

3 participants


The parseGexf plugin sets a weight attribute for edges if defined. When displaying graphs, edge weight by default has no effect, since size is used to scale edge sizes.

This simplistic approach sets edge sizes to existing weight settings, to scale edges based on weights, not sure though whether this may cause problems in certain scenarios.

@yaph yaph referenced this pull request in oxfordinternetinstitute/sigma.js Mar 10, 2013

parseJson plugin node attributes and edge ids #7


Just worked on the same thing -- 82702e5 . Sorry.

I'll look at the two in the morning when I'm more awake. Thanks!


No problem and thanks for seeing into this.

@jacomyal jacomyal merged commit 4f7136f into jacomyal:master Apr 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment