{"action":"closed","issue":{"url":"https://api.github.com/repos/networkx/networkx/issues/2119","repository_url":"https://api.github.com/repos/networkx/networkx","labels_url":"https://api.github.com/repos/networkx/networkx/issues/2119/labels{/name}","comments_url":"https://api.github.com/repos/networkx/networkx/issues/2119/comments","events_url":"https://api.github.com/repos/networkx/networkx/issues/2119/events","html_url":"https://github.com/networkx/networkx/issues/2119","id":152832504,"number":2119,"title":"Multigraph key simplification?","user":{"login":"dschult","id":915037,"avatar_url":"https://avatars.githubusercontent.com/u/915037?v=3","gravatar_id":"","url":"https://api.github.com/users/dschult","html_url":"https://github.com/dschult","followers_url":"https://api.github.com/users/dschult/followers","following_url":"https://api.github.com/users/dschult/following{/other_user}","gists_url":"https://api.github.com/users/dschult/gists{/gist_id}","starred_url":"https://api.github.com/users/dschult/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dschult/subscriptions","organizations_url":"https://api.github.com/users/dschult/orgs","repos_url":"https://api.github.com/users/dschult/repos","events_url":"https://api.github.com/users/dschult/events{/privacy}","received_events_url":"https://api.github.com/users/dschult/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/networkx/networkx/labels/Enhancement","name":"Enhancement","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/networkx/networkx/milestones/3","html_url":"https://github.com/networkx/networkx/milestones/networkx-2.0","labels_url":"https://api.github.com/repos/networkx/networkx/milestones/3/labels","id":236124,"number":3,"title":"networkx-2.0","description":"","creator":{"login":"hagberg","id":187875,"avatar_url":"https://avatars.githubusercontent.com/u/187875?v=3","gravatar_id":"","url":"https://api.github.com/users/hagberg","html_url":"https://github.com/hagberg","followers_url":"https://api.github.com/users/hagberg/followers","following_url":"https://api.github.com/users/hagberg/following{/other_user}","gists_url":"https://api.github.com/users/hagberg/gists{/gist_id}","starred_url":"https://api.github.com/users/hagberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hagberg/subscriptions","organizations_url":"https://api.github.com/users/hagberg/orgs","repos_url":"https://api.github.com/users/hagberg/repos","events_url":"https://api.github.com/users/hagberg/events{/privacy}","received_events_url":"https://api.github.com/users/hagberg/received_events","type":"User","site_admin":false},"open_issues":78,"closed_issues":235,"state":"open","created_at":"2012-12-29T15:43:08Z","updated_at":"2016-06-14T15:19:14Z","due_on":"2016-03-15T06:00:00Z","closed_at":null},"comments":13,"created_at":"2016-05-03T17:38:49Z","updated_at":"2016-06-14T15:19:14Z","closed_at":"2016-06-14T15:19:14Z","body":"It seems that the way we handle multigraph edge keys is sometimes hard to maintain (see #2107 but true elsewhere too).  Is there a way to handle it more simply?\r\n\r\nSome thoughts include: \r\n- defaulting to ```key=None``` for all add_edge actions. The first ```G.add_edge(1,2)``` gives ```(1,2,None)```. The second does nothing! To get a multiedge one must specify a key.\r\n- default to using a UUID for the key to each multiedge.  (unique key within the MultiGraph and actually across all MultiGraphs).  Here ```G.add_edge(1,2)``` twice does add two separate edges.\r\n\r\nOther thoughts?"}}
{"actor":{"display_login":"dschult"}}