{"action":"created","comment":{"url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/pulls/comments/54349028","id":54349028,"diff_hunk":"@@ -28,7 +28,10 @@ function DiGraph(nv::Integer, ne::Integer; seed::Int = -1)\n     return g\n end\n \n-\"\"\"Creates an [Erdős–Rényi](http://en.wikipedia.org/wiki/Erdős–Rényi_model)\n+doc\"\"\"\n+erdos_renyi(n::Integer, p::Real; is_directed=false, seed::Integer=-1)\n+","path":"src/randgraphs.jl","position":7,"original_position":7,"commit_id":"63fee16e41294aba27814adb11ca85f8f72ef8bf","original_commit_id":"63fee16e41294aba27814adb11ca85f8f72ef8bf","user":{"login":"CarloLucibello","id":7014210,"avatar_url":"https://avatars.githubusercontent.com/u/7014210?v=3","gravatar_id":"","url":"https://api.github.com/users/CarloLucibello","html_url":"https://github.com/CarloLucibello","followers_url":"https://api.github.com/users/CarloLucibello/followers","following_url":"https://api.github.com/users/CarloLucibello/following{/other_user}","gists_url":"https://api.github.com/users/CarloLucibello/gists{/gist_id}","starred_url":"https://api.github.com/users/CarloLucibello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarloLucibello/subscriptions","organizations_url":"https://api.github.com/users/CarloLucibello/orgs","repos_url":"https://api.github.com/users/CarloLucibello/repos","events_url":"https://api.github.com/users/CarloLucibello/events{/privacy}","received_events_url":"https://api.github.com/users/CarloLucibello/received_events","type":"User","site_admin":false},"body":"Also, doc\"\"\" is needed if you want to use $ for latex inlining, otherwise julia will interpolate symbols into the string. ","created_at":"2016-02-28T12:43:50Z","updated_at":"2016-02-28T12:43:50Z","html_url":"https://github.com/JuliaGraphs/LightGraphs.jl/pull/297#discussion_r54349028","pull_request_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/pulls/297","_links":{"self":{"href":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/pulls/comments/54349028"},"html":{"href":"https://github.com/JuliaGraphs/LightGraphs.jl/pull/297#discussion_r54349028"},"pull_request":{"href":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/pulls/297"}}},"pull_request":{"url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/pulls/297","id":60825284,"html_url":"https://github.com/JuliaGraphs/LightGraphs.jl/pull/297","diff_url":"https://github.com/JuliaGraphs/LightGraphs.jl/pull/297.diff","patch_url":"https://github.com/JuliaGraphs/LightGraphs.jl/pull/297.patch","issue_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/issues/297","number":297,"state":"open","locked":false,"title":"Simpler Stochastic Block Model ","user":{"login":"CarloLucibello","id":7014210,"avatar_url":"https://avatars.githubusercontent.com/u/7014210?v=3","gravatar_id":"","url":"https://api.github.com/users/CarloLucibello","html_url":"https://github.com/CarloLucibello","followers_url":"https://api.github.com/users/CarloLucibello/followers","following_url":"https://api.github.com/users/CarloLucibello/following{/other_user}","gists_url":"https://api.github.com/users/CarloLucibello/gists{/gist_id}","starred_url":"https://api.github.com/users/CarloLucibello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarloLucibello/subscriptions","organizations_url":"https://api.github.com/users/CarloLucibello/orgs","repos_url":"https://api.github.com/users/CarloLucibello/repos","events_url":"https://api.github.com/users/CarloLucibello/events{/privacy}","received_events_url":"https://api.github.com/users/CarloLucibello/received_events","type":"User","site_admin":false},"body":"as discussed  in #288","created_at":"2016-02-26T10:59:06Z","updated_at":"2016-02-28T12:43:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1385c3a660d30b9e4a87344c325b233a3a352f78","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/pulls/297/commits","review_comments_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/pulls/297/comments","review_comment_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/issues/297/comments","statuses_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/statuses/63fee16e41294aba27814adb11ca85f8f72ef8bf","head":{"label":"CarloLucibello:master","ref":"master","sha":"63fee16e41294aba27814adb11ca85f8f72ef8bf","user":{"login":"CarloLucibello","id":7014210,"avatar_url":"https://avatars.githubusercontent.com/u/7014210?v=3","gravatar_id":"","url":"https://api.github.com/users/CarloLucibello","html_url":"https://github.com/CarloLucibello","followers_url":"https://api.github.com/users/CarloLucibello/followers","following_url":"https://api.github.com/users/CarloLucibello/following{/other_user}","gists_url":"https://api.github.com/users/CarloLucibello/gists{/gist_id}","starred_url":"https://api.github.com/users/CarloLucibello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarloLucibello/subscriptions","organizations_url":"https://api.github.com/users/CarloLucibello/orgs","repos_url":"https://api.github.com/users/CarloLucibello/repos","events_url":"https://api.github.com/users/CarloLucibello/events{/privacy}","received_events_url":"https://api.github.com/users/CarloLucibello/received_events","type":"User","site_admin":false},"repo":{"id":42853831,"name":"LightGraphs.jl","full_name":"CarloLucibello/LightGraphs.jl","owner":{"login":"CarloLucibello","id":7014210,"avatar_url":"https://avatars.githubusercontent.com/u/7014210?v=3","gravatar_id":"","url":"https://api.github.com/users/CarloLucibello","html_url":"https://github.com/CarloLucibello","followers_url":"https://api.github.com/users/CarloLucibello/followers","following_url":"https://api.github.com/users/CarloLucibello/following{/other_user}","gists_url":"https://api.github.com/users/CarloLucibello/gists{/gist_id}","starred_url":"https://api.github.com/users/CarloLucibello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CarloLucibello/subscriptions","organizations_url":"https://api.github.com/users/CarloLucibello/orgs","repos_url":"https://api.github.com/users/CarloLucibello/repos","events_url":"https://api.github.com/users/CarloLucibello/events{/privacy}","received_events_url":"https://api.github.com/users/CarloLucibello/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CarloLucibello/LightGraphs.jl","description":"An optimized graphs package for Julia","fork":true,"url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl","forks_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/forks","keys_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/teams","hooks_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/hooks","issue_events_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/issues/events{/number}","events_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/events","assignees_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/assignees{/user}","branches_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/branches{/branch}","tags_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/tags","blobs_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/languages","stargazers_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/stargazers","contributors_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/contributors","subscribers_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/subscribers","subscription_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/subscription","commits_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/contents/{+path}","compare_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/merges","archive_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/downloads","issues_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/issues{/number}","pulls_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/labels{/name}","releases_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/releases{/id}","deployments_url":"https://api.github.com/repos/CarloLucibello/LightGraphs.jl/deployments","created_at":"2015-09-21T08:32:37Z","updated_at":"2016-02-24T08:41:44Z","pushed_at":"2016-02-26T10:56:39Z","git_url":"git://github.com/CarloLucibello/LightGraphs.jl.git","ssh_url":"git@github.com:CarloLucibello/LightGraphs.jl.git","clone_url":"https://github.com/CarloLucibello/LightGraphs.jl.git","svn_url":"https://github.com/CarloLucibello/LightGraphs.jl","homepage":"","size":4167,"stargazers_count":0,"watchers_count":0,"language":"Julia","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"JuliaGraphs:master","ref":"master","sha":"25494e2d4c461c60a16e7e2dde4c475641b493d2","user":{"login":"JuliaGraphs","id":10791402,"avatar_url":"https://avatars.githubusercontent.com/u/10791402?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaGraphs","html_url":"https://github.com/JuliaGraphs","followers_url":"https://api.github.com/users/JuliaGraphs/followers","following_url":"https://api.github.com/users/JuliaGraphs/following{/other_user}","gists_url":"https://api.github.com/users/JuliaGraphs/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaGraphs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaGraphs/subscriptions","organizations_url":"https://api.github.com/users/JuliaGraphs/orgs","repos_url":"https://api.github.com/users/JuliaGraphs/repos","events_url":"https://api.github.com/users/JuliaGraphs/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaGraphs/received_events","type":"Organization","site_admin":false},"repo":{"id":29314835,"name":"LightGraphs.jl","full_name":"JuliaGraphs/LightGraphs.jl","owner":{"login":"JuliaGraphs","id":10791402,"avatar_url":"https://avatars.githubusercontent.com/u/10791402?v=3","gravatar_id":"","url":"https://api.github.com/users/JuliaGraphs","html_url":"https://github.com/JuliaGraphs","followers_url":"https://api.github.com/users/JuliaGraphs/followers","following_url":"https://api.github.com/users/JuliaGraphs/following{/other_user}","gists_url":"https://api.github.com/users/JuliaGraphs/gists{/gist_id}","starred_url":"https://api.github.com/users/JuliaGraphs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JuliaGraphs/subscriptions","organizations_url":"https://api.github.com/users/JuliaGraphs/orgs","repos_url":"https://api.github.com/users/JuliaGraphs/repos","events_url":"https://api.github.com/users/JuliaGraphs/events{/privacy}","received_events_url":"https://api.github.com/users/JuliaGraphs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JuliaGraphs/LightGraphs.jl","description":"An optimized graphs package for Julia","fork":false,"url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl","forks_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/forks","keys_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/teams","hooks_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/hooks","issue_events_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/issues/events{/number}","events_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/events","assignees_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/assignees{/user}","branches_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/branches{/branch}","tags_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/tags","blobs_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/languages","stargazers_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/stargazers","contributors_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/contributors","subscribers_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/subscribers","subscription_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/subscription","commits_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/contents/{+path}","compare_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/merges","archive_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/downloads","issues_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/issues{/number}","pulls_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/labels{/name}","releases_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/releases{/id}","deployments_url":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/deployments","created_at":"2015-01-15T19:44:43Z","updated_at":"2016-02-26T20:19:08Z","pushed_at":"2016-02-27T03:59:26Z","git_url":"git://github.com/JuliaGraphs/LightGraphs.jl.git","ssh_url":"git@github.com:JuliaGraphs/LightGraphs.jl.git","clone_url":"https://github.com/JuliaGraphs/LightGraphs.jl.git","svn_url":"https://github.com/JuliaGraphs/LightGraphs.jl","homepage":"","size":4350,"stargazers_count":41,"watchers_count":41,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":20,"forks":20,"open_issues":20,"watchers":41,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/pulls/297"},"html":{"href":"https://github.com/JuliaGraphs/LightGraphs.jl/pull/297"},"issue":{"href":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/issues/297"},"comments":{"href":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/issues/297/comments"},"review_comments":{"href":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/pulls/297/comments"},"review_comment":{"href":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/pulls/297/commits"},"statuses":{"href":"https://api.github.com/repos/JuliaGraphs/LightGraphs.jl/statuses/63fee16e41294aba27814adb11ca85f8f72ef8bf"}}}}