{"action":"created","issue":{"url":"https://api.github.com/repos/networkx/networkx/issues/1239","labels_url":"https://api.github.com/repos/networkx/networkx/issues/1239/labels{/name}","comments_url":"https://api.github.com/repos/networkx/networkx/issues/1239/comments","events_url":"https://api.github.com/repos/networkx/networkx/issues/1239/events","html_url":"https://github.com/networkx/networkx/issues/1239","id":39795594,"number":1239,"title":"Communicability, subgraph centrality, clarification and refactor","user":{"login":"Michael-E-Rose","id":7095926,"avatar_url":"https://avatars.githubusercontent.com/u/7095926?v=3","gravatar_id":"","url":"https://api.github.com/users/Michael-E-Rose","html_url":"https://github.com/Michael-E-Rose","followers_url":"https://api.github.com/users/Michael-E-Rose/followers","following_url":"https://api.github.com/users/Michael-E-Rose/following{/other_user}","gists_url":"https://api.github.com/users/Michael-E-Rose/gists{/gist_id}","starred_url":"https://api.github.com/users/Michael-E-Rose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Michael-E-Rose/subscriptions","organizations_url":"https://api.github.com/users/Michael-E-Rose/orgs","repos_url":"https://api.github.com/users/Michael-E-Rose/repos","events_url":"https://api.github.com/users/Michael-E-Rose/events{/privacy}","received_events_url":"https://api.github.com/users/Michael-E-Rose/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/networkx/networkx/labels/Defect","name":"Defect","color":"e11d21"}],"state":"open","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":110,"closed_issues":88,"state":"open","created_at":"2012-12-29T15:43:08Z","updated_at":"2016-01-19T11:25:17Z","due_on":"2016-03-15T06:00:00Z","closed_at":null},"comments":20,"created_at":"2014-08-08T06:24:30Z","updated_at":"2016-01-19T14:15:59Z","closed_at":null,"body":"The documentation on `communicability_centrality()` says that it calculates communicability centrality which is also know as subgraph centrality according the documentation. But communicability centrality is not the same as subgraph centrality. These two are related but distinct concepts:\r\n\r\nSubgraph centrality builds subgraphs using closed walks. Communicability centrality uses open walks between any two nodes. \r\n\r\nGiven the formula and description of the command, it seems that NetworkX actually uses subgraph centrality which however renders the NetworkX command 'communicability' wrong.\r\n"},"comment":{"url":"https://api.github.com/repos/networkx/networkx/issues/comments/172865689","html_url":"https://github.com/networkx/networkx/issues/1239#issuecomment-172865689","issue_url":"https://api.github.com/repos/networkx/networkx/issues/1239","id":172865689,"user":{"login":"Michael-E-Rose","id":7095926,"avatar_url":"https://avatars.githubusercontent.com/u/7095926?v=3","gravatar_id":"","url":"https://api.github.com/users/Michael-E-Rose","html_url":"https://github.com/Michael-E-Rose","followers_url":"https://api.github.com/users/Michael-E-Rose/followers","following_url":"https://api.github.com/users/Michael-E-Rose/following{/other_user}","gists_url":"https://api.github.com/users/Michael-E-Rose/gists{/gist_id}","starred_url":"https://api.github.com/users/Michael-E-Rose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Michael-E-Rose/subscriptions","organizations_url":"https://api.github.com/users/Michael-E-Rose/orgs","repos_url":"https://api.github.com/users/Michael-E-Rose/repos","events_url":"https://api.github.com/users/Michael-E-Rose/events{/privacy}","received_events_url":"https://api.github.com/users/Michael-E-Rose/received_events","type":"User","site_admin":false},"created_at":"2016-01-19T14:15:59Z","updated_at":"2016-01-19T14:15:59Z","body":"So, after having had troubles with my outdated fork I created a new pull request (#1950), which seems ok to merge. Please have a look."}}