Fix bug in graphml.cpp with non-canonical edge ids