{"action":"created","comment":{"url":"https://api.github.com/repos/graphframes/graphframes/pulls/comments/52350089","id":52350089,"diff_hunk":"@@ -0,0 +1,443 @@\n+---\n+layout: global\n+displayTitle: GraphFrames User Guide\n+title: User Guide\n+description: GraphFrames GRAPHFRAMES_VERSION user guide\n+---\n+\n+This page gives examples of how to use GraphFrames for basic queries, motif finding, and\n+general graph algorithms.  This includes code examples in Scala and Python.\n+\n+* Table of contents\n+{:toc}\n+\n+*Note: Most examples use the GraphFrame from the first subsection:\n+[Creating GraphFrames](user-guide.html#creating-graphframes).*\n+\n+# Creating GraphFrames\n+\n+Users can create GraphFrames from vertex and edge DataFrames.\n+* *Vertex DataFrame*: A vertex DataFrame should contain a special column named \"id\" which specifies","path":"docs/user-guide.md","position":20,"original_position":20,"commit_id":"4b3341c86e4f2c17ae88bdc5d0025b436f20e971","original_commit_id":"4b3341c86e4f2c17ae88bdc5d0025b436f20e971","user":{"login":"jkbradley","id":5084283,"avatar_url":"https://avatars.githubusercontent.com/u/5084283?v=3","gravatar_id":"","url":"https://api.github.com/users/jkbradley","html_url":"https://github.com/jkbradley","followers_url":"https://api.github.com/users/jkbradley/followers","following_url":"https://api.github.com/users/jkbradley/following{/other_user}","gists_url":"https://api.github.com/users/jkbradley/gists{/gist_id}","starred_url":"https://api.github.com/users/jkbradley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkbradley/subscriptions","organizations_url":"https://api.github.com/users/jkbradley/orgs","repos_url":"https://api.github.com/users/jkbradley/repos","events_url":"https://api.github.com/users/jkbradley/events{/privacy}","received_events_url":"https://api.github.com/users/jkbradley/received_events","type":"User","site_admin":false},"body":"Fixed (and checked generated doc).  I forgot to have a newline before the list.","created_at":"2016-02-09T18:22:32Z","updated_at":"2016-02-09T18:22:32Z","html_url":"https://github.com/graphframes/graphframes/pull/3#discussion_r52350089","pull_request_url":"https://api.github.com/repos/graphframes/graphframes/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/graphframes/graphframes/pulls/comments/52350089"},"html":{"href":"https://github.com/graphframes/graphframes/pull/3#discussion_r52350089"},"pull_request":{"href":"https://api.github.com/repos/graphframes/graphframes/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/graphframes/graphframes/pulls/3","id":58701426,"html_url":"https://github.com/graphframes/graphframes/pull/3","diff_url":"https://github.com/graphframes/graphframes/pull/3.diff","patch_url":"https://github.com/graphframes/graphframes/pull/3.patch","issue_url":"https://api.github.com/repos/graphframes/graphframes/issues/3","number":3,"state":"open","locked":false,"title":"quick-start and user-guide sections with placeholders","user":{"login":"jkbradley","id":5084283,"avatar_url":"https://avatars.githubusercontent.com/u/5084283?v=3","gravatar_id":"","url":"https://api.github.com/users/jkbradley","html_url":"https://github.com/jkbradley","followers_url":"https://api.github.com/users/jkbradley/followers","following_url":"https://api.github.com/users/jkbradley/following{/other_user}","gists_url":"https://api.github.com/users/jkbradley/gists{/gist_id}","starred_url":"https://api.github.com/users/jkbradley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkbradley/subscriptions","organizations_url":"https://api.github.com/users/jkbradley/orgs","repos_url":"https://api.github.com/users/jkbradley/repos","events_url":"https://api.github.com/users/jkbradley/events{/privacy}","received_events_url":"https://api.github.com/users/jkbradley/received_events","type":"User","site_admin":false},"body":"Included some code snippets, including graph construction and BFS.\r\nAlso added constructor from edges only, plus test.\r\nMinor user guide cleanups.","created_at":"2016-02-09T03:35:06Z","updated_at":"2016-02-09T18:22:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"339d956d20e0f23eb74c1d4294f9375627a6f264","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/graphframes/graphframes/pulls/3/commits","review_comments_url":"https://api.github.com/repos/graphframes/graphframes/pulls/3/comments","review_comment_url":"https://api.github.com/repos/graphframes/graphframes/pulls/comments{/number}","comments_url":"https://api.github.com/repos/graphframes/graphframes/issues/3/comments","statuses_url":"https://api.github.com/repos/graphframes/graphframes/statuses/4b3341c86e4f2c17ae88bdc5d0025b436f20e971","head":{"label":"jkbradley:subgraphs","ref":"subgraphs","sha":"4b3341c86e4f2c17ae88bdc5d0025b436f20e971","user":{"login":"jkbradley","id":5084283,"avatar_url":"https://avatars.githubusercontent.com/u/5084283?v=3","gravatar_id":"","url":"https://api.github.com/users/jkbradley","html_url":"https://github.com/jkbradley","followers_url":"https://api.github.com/users/jkbradley/followers","following_url":"https://api.github.com/users/jkbradley/following{/other_user}","gists_url":"https://api.github.com/users/jkbradley/gists{/gist_id}","starred_url":"https://api.github.com/users/jkbradley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkbradley/subscriptions","organizations_url":"https://api.github.com/users/jkbradley/orgs","repos_url":"https://api.github.com/users/jkbradley/repos","events_url":"https://api.github.com/users/jkbradley/events{/privacy}","received_events_url":"https://api.github.com/users/jkbradley/received_events","type":"User","site_admin":false},"repo":{"id":50961016,"name":"graphframes","full_name":"jkbradley/graphframes","owner":{"login":"jkbradley","id":5084283,"avatar_url":"https://avatars.githubusercontent.com/u/5084283?v=3","gravatar_id":"","url":"https://api.github.com/users/jkbradley","html_url":"https://github.com/jkbradley","followers_url":"https://api.github.com/users/jkbradley/followers","following_url":"https://api.github.com/users/jkbradley/following{/other_user}","gists_url":"https://api.github.com/users/jkbradley/gists{/gist_id}","starred_url":"https://api.github.com/users/jkbradley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkbradley/subscriptions","organizations_url":"https://api.github.com/users/jkbradley/orgs","repos_url":"https://api.github.com/users/jkbradley/repos","events_url":"https://api.github.com/users/jkbradley/events{/privacy}","received_events_url":"https://api.github.com/users/jkbradley/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jkbradley/graphframes","description":"","fork":true,"url":"https://api.github.com/repos/jkbradley/graphframes","forks_url":"https://api.github.com/repos/jkbradley/graphframes/forks","keys_url":"https://api.github.com/repos/jkbradley/graphframes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jkbradley/graphframes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jkbradley/graphframes/teams","hooks_url":"https://api.github.com/repos/jkbradley/graphframes/hooks","issue_events_url":"https://api.github.com/repos/jkbradley/graphframes/issues/events{/number}","events_url":"https://api.github.com/repos/jkbradley/graphframes/events","assignees_url":"https://api.github.com/repos/jkbradley/graphframes/assignees{/user}","branches_url":"https://api.github.com/repos/jkbradley/graphframes/branches{/branch}","tags_url":"https://api.github.com/repos/jkbradley/graphframes/tags","blobs_url":"https://api.github.com/repos/jkbradley/graphframes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jkbradley/graphframes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jkbradley/graphframes/git/refs{/sha}","trees_url":"https://api.github.com/repos/jkbradley/graphframes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jkbradley/graphframes/statuses/{sha}","languages_url":"https://api.github.com/repos/jkbradley/graphframes/languages","stargazers_url":"https://api.github.com/repos/jkbradley/graphframes/stargazers","contributors_url":"https://api.github.com/repos/jkbradley/graphframes/contributors","subscribers_url":"https://api.github.com/repos/jkbradley/graphframes/subscribers","subscription_url":"https://api.github.com/repos/jkbradley/graphframes/subscription","commits_url":"https://api.github.com/repos/jkbradley/graphframes/commits{/sha}","git_commits_url":"https://api.github.com/repos/jkbradley/graphframes/git/commits{/sha}","comments_url":"https://api.github.com/repos/jkbradley/graphframes/comments{/number}","issue_comment_url":"https://api.github.com/repos/jkbradley/graphframes/issues/comments{/number}","contents_url":"https://api.github.com/repos/jkbradley/graphframes/contents/{+path}","compare_url":"https://api.github.com/repos/jkbradley/graphframes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jkbradley/graphframes/merges","archive_url":"https://api.github.com/repos/jkbradley/graphframes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jkbradley/graphframes/downloads","issues_url":"https://api.github.com/repos/jkbradley/graphframes/issues{/number}","pulls_url":"https://api.github.com/repos/jkbradley/graphframes/pulls{/number}","milestones_url":"https://api.github.com/repos/jkbradley/graphframes/milestones{/number}","notifications_url":"https://api.github.com/repos/jkbradley/graphframes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jkbradley/graphframes/labels{/name}","releases_url":"https://api.github.com/repos/jkbradley/graphframes/releases{/id}","deployments_url":"https://api.github.com/repos/jkbradley/graphframes/deployments","created_at":"2016-02-03T00:02:52Z","updated_at":"2016-02-03T00:02:55Z","pushed_at":"2016-02-09T03:32:13Z","git_url":"git://github.com/jkbradley/graphframes.git","ssh_url":"git@github.com:jkbradley/graphframes.git","clone_url":"https://github.com/jkbradley/graphframes.git","svn_url":"https://github.com/jkbradley/graphframes","homepage":null,"size":398,"stargazers_count":0,"watchers_count":0,"language":"Scala","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":"graphframes:master","ref":"master","sha":"4a15d2198548b313f9aaae19509509a9c271774b","user":{"login":"graphframes","id":16808115,"avatar_url":"https://avatars.githubusercontent.com/u/16808115?v=3","gravatar_id":"","url":"https://api.github.com/users/graphframes","html_url":"https://github.com/graphframes","followers_url":"https://api.github.com/users/graphframes/followers","following_url":"https://api.github.com/users/graphframes/following{/other_user}","gists_url":"https://api.github.com/users/graphframes/gists{/gist_id}","starred_url":"https://api.github.com/users/graphframes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graphframes/subscriptions","organizations_url":"https://api.github.com/users/graphframes/orgs","repos_url":"https://api.github.com/users/graphframes/repos","events_url":"https://api.github.com/users/graphframes/events{/privacy}","received_events_url":"https://api.github.com/users/graphframes/received_events","type":"Organization","site_admin":false},"repo":{"id":50067430,"name":"graphframes","full_name":"graphframes/graphframes","owner":{"login":"graphframes","id":16808115,"avatar_url":"https://avatars.githubusercontent.com/u/16808115?v=3","gravatar_id":"","url":"https://api.github.com/users/graphframes","html_url":"https://github.com/graphframes","followers_url":"https://api.github.com/users/graphframes/followers","following_url":"https://api.github.com/users/graphframes/following{/other_user}","gists_url":"https://api.github.com/users/graphframes/gists{/gist_id}","starred_url":"https://api.github.com/users/graphframes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graphframes/subscriptions","organizations_url":"https://api.github.com/users/graphframes/orgs","repos_url":"https://api.github.com/users/graphframes/repos","events_url":"https://api.github.com/users/graphframes/events{/privacy}","received_events_url":"https://api.github.com/users/graphframes/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/graphframes/graphframes","description":"","fork":false,"url":"https://api.github.com/repos/graphframes/graphframes","forks_url":"https://api.github.com/repos/graphframes/graphframes/forks","keys_url":"https://api.github.com/repos/graphframes/graphframes/keys{/key_id}","collaborators_url":"https://api.github.com/repos/graphframes/graphframes/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/graphframes/graphframes/teams","hooks_url":"https://api.github.com/repos/graphframes/graphframes/hooks","issue_events_url":"https://api.github.com/repos/graphframes/graphframes/issues/events{/number}","events_url":"https://api.github.com/repos/graphframes/graphframes/events","assignees_url":"https://api.github.com/repos/graphframes/graphframes/assignees{/user}","branches_url":"https://api.github.com/repos/graphframes/graphframes/branches{/branch}","tags_url":"https://api.github.com/repos/graphframes/graphframes/tags","blobs_url":"https://api.github.com/repos/graphframes/graphframes/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/graphframes/graphframes/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/graphframes/graphframes/git/refs{/sha}","trees_url":"https://api.github.com/repos/graphframes/graphframes/git/trees{/sha}","statuses_url":"https://api.github.com/repos/graphframes/graphframes/statuses/{sha}","languages_url":"https://api.github.com/repos/graphframes/graphframes/languages","stargazers_url":"https://api.github.com/repos/graphframes/graphframes/stargazers","contributors_url":"https://api.github.com/repos/graphframes/graphframes/contributors","subscribers_url":"https://api.github.com/repos/graphframes/graphframes/subscribers","subscription_url":"https://api.github.com/repos/graphframes/graphframes/subscription","commits_url":"https://api.github.com/repos/graphframes/graphframes/commits{/sha}","git_commits_url":"https://api.github.com/repos/graphframes/graphframes/git/commits{/sha}","comments_url":"https://api.github.com/repos/graphframes/graphframes/comments{/number}","issue_comment_url":"https://api.github.com/repos/graphframes/graphframes/issues/comments{/number}","contents_url":"https://api.github.com/repos/graphframes/graphframes/contents/{+path}","compare_url":"https://api.github.com/repos/graphframes/graphframes/compare/{base}...{head}","merges_url":"https://api.github.com/repos/graphframes/graphframes/merges","archive_url":"https://api.github.com/repos/graphframes/graphframes/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/graphframes/graphframes/downloads","issues_url":"https://api.github.com/repos/graphframes/graphframes/issues{/number}","pulls_url":"https://api.github.com/repos/graphframes/graphframes/pulls{/number}","milestones_url":"https://api.github.com/repos/graphframes/graphframes/milestones{/number}","notifications_url":"https://api.github.com/repos/graphframes/graphframes/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/graphframes/graphframes/labels{/name}","releases_url":"https://api.github.com/repos/graphframes/graphframes/releases{/id}","deployments_url":"https://api.github.com/repos/graphframes/graphframes/deployments","created_at":"2016-01-20T23:17:56Z","updated_at":"2016-02-03T00:01:24Z","pushed_at":"2016-02-09T03:35:06Z","git_url":"git://github.com/graphframes/graphframes.git","ssh_url":"git@github.com:graphframes/graphframes.git","clone_url":"https://github.com/graphframes/graphframes.git","svn_url":"https://github.com/graphframes/graphframes","homepage":null,"size":393,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/graphframes/graphframes/pulls/3"},"html":{"href":"https://github.com/graphframes/graphframes/pull/3"},"issue":{"href":"https://api.github.com/repos/graphframes/graphframes/issues/3"},"comments":{"href":"https://api.github.com/repos/graphframes/graphframes/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/graphframes/graphframes/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/graphframes/graphframes/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/graphframes/graphframes/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/graphframes/graphframes/statuses/4b3341c86e4f2c17ae88bdc5d0025b436f20e971"}}}}