{"action":"created","comment":{"url":"https://api.github.com/repos/networkx/networkx/pulls/comments/34554112","id":34554112,"diff_hunk":"@@ -19,7 +22,8 @@\n            'shell_layout',\n            'spring_layout',\n            'spectral_layout',\n-           'fruchterman_reingold_layout']\n+           'fruchterman_reingold_layout',\n+           'kamada_kawai']","path":"networkx/drawing/layout.py","position":21,"original_position":21,"commit_id":"df124dc08a565a2f722fff6a0e4c3d434bde25e5","original_commit_id":"df124dc08a565a2f722fff6a0e4c3d434bde25e5","user":{"login":"kernc","id":684364,"avatar_url":"https://avatars.githubusercontent.com/u/684364?v=3","gravatar_id":"","url":"https://api.github.com/users/kernc","html_url":"https://github.com/kernc","followers_url":"https://api.github.com/users/kernc/followers","following_url":"https://api.github.com/users/kernc/following{/other_user}","gists_url":"https://api.github.com/users/kernc/gists{/gist_id}","starred_url":"https://api.github.com/users/kernc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kernc/subscriptions","organizations_url":"https://api.github.com/users/kernc/orgs","repos_url":"https://api.github.com/users/kernc/repos","events_url":"https://api.github.com/users/kernc/events{/privacy}","received_events_url":"https://api.github.com/users/kernc/received_events","type":"User","site_admin":false},"body":"Would it make sense to end in `_layout` as the rest do?","created_at":"2015-07-14T10:18:37Z","updated_at":"2015-07-14T10:18:37Z","html_url":"https://github.com/networkx/networkx/pull/1551#discussion_r34554112","pull_request_url":"https://api.github.com/repos/networkx/networkx/pulls/1551","_links":{"self":{"href":"https://api.github.com/repos/networkx/networkx/pulls/comments/34554112"},"html":{"href":"https://github.com/networkx/networkx/pull/1551#discussion_r34554112"},"pull_request":{"href":"https://api.github.com/repos/networkx/networkx/pulls/1551"}}},"pull_request":{"url":"https://api.github.com/repos/networkx/networkx/pulls/1551","id":36451824,"html_url":"https://github.com/networkx/networkx/pull/1551","diff_url":"https://github.com/networkx/networkx/pull/1551.diff","patch_url":"https://github.com/networkx/networkx/pull/1551.patch","issue_url":"https://api.github.com/repos/networkx/networkx/issues/1551","number":1551,"state":"open","locked":false,"title":"Add Kamada-Kawai force directed algorithm","user":{"login":"theosotr","id":6434138,"avatar_url":"https://avatars.githubusercontent.com/u/6434138?v=3","gravatar_id":"","url":"https://api.github.com/users/theosotr","html_url":"https://github.com/theosotr","followers_url":"https://api.github.com/users/theosotr/followers","following_url":"https://api.github.com/users/theosotr/following{/other_user}","gists_url":"https://api.github.com/users/theosotr/gists{/gist_id}","starred_url":"https://api.github.com/users/theosotr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theosotr/subscriptions","organizations_url":"https://api.github.com/users/theosotr/orgs","repos_url":"https://api.github.com/users/theosotr/repos","events_url":"https://api.github.com/users/theosotr/events{/privacy}","received_events_url":"https://api.github.com/users/theosotr/received_events","type":"User","site_admin":false},"body":"This pull request implements Kamada-Kawai force directed algorithm for graph layout.\r\n\r\nHere are some visualizations of some graphs using this algorithm.\r\nGraph 1\r\n![figure_1](https://cloud.githubusercontent.com/assets/6434138/7871300/bddb12b2-0597-11e5-8200-865f71cecf89.png)\r\nGraph 2\r\n![figure_2](https://cloud.githubusercontent.com/assets/6434138/7871319/d628290e-0597-11e5-8b8a-4556762e8f9e.png)\r\nGraph 3\r\n![figure_3](https://cloud.githubusercontent.com/assets/6434138/7872960/49acbe6e-05a5-11e5-96ad-69db2794ced7.png)\r\n\r\n","created_at":"2015-05-28T21:17:06Z","updated_at":"2015-07-14T10:18:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"beaa3b72414fa00125a3f90d987c51ae35da053f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/networkx/networkx/pulls/1551/commits","review_comments_url":"https://api.github.com/repos/networkx/networkx/pulls/1551/comments","review_comment_url":"https://api.github.com/repos/networkx/networkx/pulls/comments{/number}","comments_url":"https://api.github.com/repos/networkx/networkx/issues/1551/comments","statuses_url":"https://api.github.com/repos/networkx/networkx/statuses/df124dc08a565a2f722fff6a0e4c3d434bde25e5","head":{"label":"Overriders:kamada-kawai","ref":"kamada-kawai","sha":"df124dc08a565a2f722fff6a0e4c3d434bde25e5","user":{"login":"Overriders","id":11508766,"avatar_url":"https://avatars.githubusercontent.com/u/11508766?v=3","gravatar_id":"","url":"https://api.github.com/users/Overriders","html_url":"https://github.com/Overriders","followers_url":"https://api.github.com/users/Overriders/followers","following_url":"https://api.github.com/users/Overriders/following{/other_user}","gists_url":"https://api.github.com/users/Overriders/gists{/gist_id}","starred_url":"https://api.github.com/users/Overriders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Overriders/subscriptions","organizations_url":"https://api.github.com/users/Overriders/orgs","repos_url":"https://api.github.com/users/Overriders/repos","events_url":"https://api.github.com/users/Overriders/events{/privacy}","received_events_url":"https://api.github.com/users/Overriders/received_events","type":"Organization","site_admin":false},"repo":{"id":32471655,"name":"networkx","full_name":"Overriders/networkx","owner":{"login":"Overriders","id":11508766,"avatar_url":"https://avatars.githubusercontent.com/u/11508766?v=3","gravatar_id":"","url":"https://api.github.com/users/Overriders","html_url":"https://github.com/Overriders","followers_url":"https://api.github.com/users/Overriders/followers","following_url":"https://api.github.com/users/Overriders/following{/other_user}","gists_url":"https://api.github.com/users/Overriders/gists{/gist_id}","starred_url":"https://api.github.com/users/Overriders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Overriders/subscriptions","organizations_url":"https://api.github.com/users/Overriders/orgs","repos_url":"https://api.github.com/users/Overriders/repos","events_url":"https://api.github.com/users/Overriders/events{/privacy}","received_events_url":"https://api.github.com/users/Overriders/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Overriders/networkx","description":"Official NetworkX source code repository.  ","fork":true,"url":"https://api.github.com/repos/Overriders/networkx","forks_url":"https://api.github.com/repos/Overriders/networkx/forks","keys_url":"https://api.github.com/repos/Overriders/networkx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Overriders/networkx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Overriders/networkx/teams","hooks_url":"https://api.github.com/repos/Overriders/networkx/hooks","issue_events_url":"https://api.github.com/repos/Overriders/networkx/issues/events{/number}","events_url":"https://api.github.com/repos/Overriders/networkx/events","assignees_url":"https://api.github.com/repos/Overriders/networkx/assignees{/user}","branches_url":"https://api.github.com/repos/Overriders/networkx/branches{/branch}","tags_url":"https://api.github.com/repos/Overriders/networkx/tags","blobs_url":"https://api.github.com/repos/Overriders/networkx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Overriders/networkx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Overriders/networkx/git/refs{/sha}","trees_url":"https://api.github.com/repos/Overriders/networkx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Overriders/networkx/statuses/{sha}","languages_url":"https://api.github.com/repos/Overriders/networkx/languages","stargazers_url":"https://api.github.com/repos/Overriders/networkx/stargazers","contributors_url":"https://api.github.com/repos/Overriders/networkx/contributors","subscribers_url":"https://api.github.com/repos/Overriders/networkx/subscribers","subscription_url":"https://api.github.com/repos/Overriders/networkx/subscription","commits_url":"https://api.github.com/repos/Overriders/networkx/commits{/sha}","git_commits_url":"https://api.github.com/repos/Overriders/networkx/git/commits{/sha}","comments_url":"https://api.github.com/repos/Overriders/networkx/comments{/number}","issue_comment_url":"https://api.github.com/repos/Overriders/networkx/issues/comments{/number}","contents_url":"https://api.github.com/repos/Overriders/networkx/contents/{+path}","compare_url":"https://api.github.com/repos/Overriders/networkx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Overriders/networkx/merges","archive_url":"https://api.github.com/repos/Overriders/networkx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Overriders/networkx/downloads","issues_url":"https://api.github.com/repos/Overriders/networkx/issues{/number}","pulls_url":"https://api.github.com/repos/Overriders/networkx/pulls{/number}","milestones_url":"https://api.github.com/repos/Overriders/networkx/milestones{/number}","notifications_url":"https://api.github.com/repos/Overriders/networkx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Overriders/networkx/labels{/name}","releases_url":"https://api.github.com/repos/Overriders/networkx/releases{/id}","created_at":"2015-03-18T16:49:38Z","updated_at":"2015-05-07T17:08:34Z","pushed_at":"2015-06-29T19:00:24Z","git_url":"git://github.com/Overriders/networkx.git","ssh_url":"git@github.com:Overriders/networkx.git","clone_url":"https://github.com/Overriders/networkx.git","svn_url":"https://github.com/Overriders/networkx","homepage":"http://networkx.github.io","size":13279,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"networkx:master","ref":"master","sha":"dc9eead4aa317d20ff6565cdf6d0c66ed43f7b79","user":{"login":"networkx","id":388785,"avatar_url":"https://avatars.githubusercontent.com/u/388785?v=3","gravatar_id":"","url":"https://api.github.com/users/networkx","html_url":"https://github.com/networkx","followers_url":"https://api.github.com/users/networkx/followers","following_url":"https://api.github.com/users/networkx/following{/other_user}","gists_url":"https://api.github.com/users/networkx/gists{/gist_id}","starred_url":"https://api.github.com/users/networkx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/networkx/subscriptions","organizations_url":"https://api.github.com/users/networkx/orgs","repos_url":"https://api.github.com/users/networkx/repos","events_url":"https://api.github.com/users/networkx/events{/privacy}","received_events_url":"https://api.github.com/users/networkx/received_events","type":"Organization","site_admin":false},"repo":{"id":890377,"name":"networkx","full_name":"networkx/networkx","owner":{"login":"networkx","id":388785,"avatar_url":"https://avatars.githubusercontent.com/u/388785?v=3","gravatar_id":"","url":"https://api.github.com/users/networkx","html_url":"https://github.com/networkx","followers_url":"https://api.github.com/users/networkx/followers","following_url":"https://api.github.com/users/networkx/following{/other_user}","gists_url":"https://api.github.com/users/networkx/gists{/gist_id}","starred_url":"https://api.github.com/users/networkx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/networkx/subscriptions","organizations_url":"https://api.github.com/users/networkx/orgs","repos_url":"https://api.github.com/users/networkx/repos","events_url":"https://api.github.com/users/networkx/events{/privacy}","received_events_url":"https://api.github.com/users/networkx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/networkx/networkx","description":"Official NetworkX source code repository.  ","fork":false,"url":"https://api.github.com/repos/networkx/networkx","forks_url":"https://api.github.com/repos/networkx/networkx/forks","keys_url":"https://api.github.com/repos/networkx/networkx/keys{/key_id}","collaborators_url":"https://api.github.com/repos/networkx/networkx/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/networkx/networkx/teams","hooks_url":"https://api.github.com/repos/networkx/networkx/hooks","issue_events_url":"https://api.github.com/repos/networkx/networkx/issues/events{/number}","events_url":"https://api.github.com/repos/networkx/networkx/events","assignees_url":"https://api.github.com/repos/networkx/networkx/assignees{/user}","branches_url":"https://api.github.com/repos/networkx/networkx/branches{/branch}","tags_url":"https://api.github.com/repos/networkx/networkx/tags","blobs_url":"https://api.github.com/repos/networkx/networkx/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/networkx/networkx/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/networkx/networkx/git/refs{/sha}","trees_url":"https://api.github.com/repos/networkx/networkx/git/trees{/sha}","statuses_url":"https://api.github.com/repos/networkx/networkx/statuses/{sha}","languages_url":"https://api.github.com/repos/networkx/networkx/languages","stargazers_url":"https://api.github.com/repos/networkx/networkx/stargazers","contributors_url":"https://api.github.com/repos/networkx/networkx/contributors","subscribers_url":"https://api.github.com/repos/networkx/networkx/subscribers","subscription_url":"https://api.github.com/repos/networkx/networkx/subscription","commits_url":"https://api.github.com/repos/networkx/networkx/commits{/sha}","git_commits_url":"https://api.github.com/repos/networkx/networkx/git/commits{/sha}","comments_url":"https://api.github.com/repos/networkx/networkx/comments{/number}","issue_comment_url":"https://api.github.com/repos/networkx/networkx/issues/comments{/number}","contents_url":"https://api.github.com/repos/networkx/networkx/contents/{+path}","compare_url":"https://api.github.com/repos/networkx/networkx/compare/{base}...{head}","merges_url":"https://api.github.com/repos/networkx/networkx/merges","archive_url":"https://api.github.com/repos/networkx/networkx/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/networkx/networkx/downloads","issues_url":"https://api.github.com/repos/networkx/networkx/issues{/number}","pulls_url":"https://api.github.com/repos/networkx/networkx/pulls{/number}","milestones_url":"https://api.github.com/repos/networkx/networkx/milestones{/number}","notifications_url":"https://api.github.com/repos/networkx/networkx/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/networkx/networkx/labels{/name}","releases_url":"https://api.github.com/repos/networkx/networkx/releases{/id}","created_at":"2010-09-06T00:53:44Z","updated_at":"2015-07-13T19:00:41Z","pushed_at":"2015-07-14T06:35:32Z","git_url":"git://github.com/networkx/networkx.git","ssh_url":"git@github.com:networkx/networkx.git","clone_url":"https://github.com/networkx/networkx.git","svn_url":"https://github.com/networkx/networkx","homepage":"http://networkx.github.io","size":22865,"stargazers_count":1482,"watchers_count":1482,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":479,"mirror_url":null,"open_issues_count":247,"forks":479,"open_issues":247,"watchers":1482,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/networkx/networkx/pulls/1551"},"html":{"href":"https://github.com/networkx/networkx/pull/1551"},"issue":{"href":"https://api.github.com/repos/networkx/networkx/issues/1551"},"comments":{"href":"https://api.github.com/repos/networkx/networkx/issues/1551/comments"},"review_comments":{"href":"https://api.github.com/repos/networkx/networkx/pulls/1551/comments"},"review_comment":{"href":"https://api.github.com/repos/networkx/networkx/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/networkx/networkx/pulls/1551/commits"},"statuses":{"href":"https://api.github.com/repos/networkx/networkx/statuses/df124dc08a565a2f722fff6a0e4c3d434bde25e5"}}}}