Skip to content

Use required edge ID attribute when parsing GEXF #85

Merged
merged 1 commit into from Apr 3, 2013

2 participants

@mattcg
mattcg commented Apr 1, 2013

Both the 1.1draft and 1.2draft schema definitions for GEXF define the id attribute of an edge element as required. This is what should be used instead of an incrementing ID, for consistency with pushGraph, which uses the id property of each edge object.

Otherwise, if pushGraph is used to push in a graph which contains edges previously added after parsing a GEXF file, duplicate edges will be drawn, as the IDs don't match.

@jacomyal jacomyal merged commit 633ec12 into jacomyal:master Apr 3, 2013
@mattcg mattcg deleted the unknown repository branch Apr 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.