{"action":"created","comment":{"url":"https://api.github.com/repos/oppia/oppia/pulls/comments/103140535","pull_request_review_id":23917091,"id":103140535,"diff_hunk":"@@ -269,6 +269,7 @@ oppia.directive('graphViz', function() {\n               y: $scope.state.mouseY,\n               label: ''\n             });\n+            setMode0(_MODES.MOVE);","path":"extensions/interactions/GraphInput/GraphInput.js","position":4,"original_position":4,"commit_id":"646206e0121a55fda503ce875724d6a3dbb1f4e1","original_commit_id":"646206e0121a55fda503ce875724d6a3dbb1f4e1","user":{"login":"95adityajain","id":22568835,"avatar_url":"https://avatars.githubusercontent.com/u/22568835?v=3","gravatar_id":"","url":"https://api.github.com/users/95adityajain","html_url":"https://github.com/95adityajain","followers_url":"https://api.github.com/users/95adityajain/followers","following_url":"https://api.github.com/users/95adityajain/following{/other_user}","gists_url":"https://api.github.com/users/95adityajain/gists{/gist_id}","starred_url":"https://api.github.com/users/95adityajain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/95adityajain/subscriptions","organizations_url":"https://api.github.com/users/95adityajain/orgs","repos_url":"https://api.github.com/users/95adityajain/repos","events_url":"https://api.github.com/users/95adityajain/events{/privacy}","received_events_url":"https://api.github.com/users/95adityajain/received_events","type":"User","site_admin":false},"body":"setMode is callback for onClick (defined on $scope)\r\nsetModeHandler (private to controller, abstracted so that can be used multiple times, in setMode as well as onClickSVG callback) actually handles actual mode change","created_at":"2017-02-27T06:01:07Z","updated_at":"2017-02-27T06:01:07Z","html_url":"https://github.com/oppia/oppia/pull/3115#discussion_r103140535","pull_request_url":"https://api.github.com/repos/oppia/oppia/pulls/3115","_links":{"self":{"href":"https://api.github.com/repos/oppia/oppia/pulls/comments/103140535"},"html":{"href":"https://github.com/oppia/oppia/pull/3115#discussion_r103140535"},"pull_request":{"href":"https://api.github.com/repos/oppia/oppia/pulls/3115"}}},"pull_request":{"url":"https://api.github.com/repos/oppia/oppia/pulls/3115","id":108009033,"html_url":"https://github.com/oppia/oppia/pull/3115","diff_url":"https://github.com/oppia/oppia/pull/3115.diff","patch_url":"https://github.com/oppia/oppia/pull/3115.patch","issue_url":"https://api.github.com/repos/oppia/oppia/issues/3115","number":3115,"state":"open","locked":false,"title":"Fix #3027 Updates Add Vertex functionality in GraphInput, when vertex is added mode is changed to \"MOVE\".","user":{"login":"95adityajain","id":22568835,"avatar_url":"https://avatars.githubusercontent.com/u/22568835?v=3","gravatar_id":"","url":"https://api.github.com/users/95adityajain","html_url":"https://github.com/95adityajain","followers_url":"https://api.github.com/users/95adityajain/followers","following_url":"https://api.github.com/users/95adityajain/following{/other_user}","gists_url":"https://api.github.com/users/95adityajain/gists{/gist_id}","starred_url":"https://api.github.com/users/95adityajain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/95adityajain/subscriptions","organizations_url":"https://api.github.com/users/95adityajain/orgs","repos_url":"https://api.github.com/users/95adityajain/repos","events_url":"https://api.github.com/users/95adityajain/events{/privacy}","received_events_url":"https://api.github.com/users/95adityajain/received_events","type":"User","site_admin":false},"body":"* Adds Helper function setMode0\r\n\r\n* Updates onClickGraphSVG function\r\n","created_at":"2017-02-26T15:34:12Z","updated_at":"2017-02-27T06:01:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"032ed402b8e5be9a8fae4f7d2704ab5fc8206131","assignee":{"login":"tjiang11","id":11807091,"avatar_url":"https://avatars.githubusercontent.com/u/11807091?v=3","gravatar_id":"","url":"https://api.github.com/users/tjiang11","html_url":"https://github.com/tjiang11","followers_url":"https://api.github.com/users/tjiang11/followers","following_url":"https://api.github.com/users/tjiang11/following{/other_user}","gists_url":"https://api.github.com/users/tjiang11/gists{/gist_id}","starred_url":"https://api.github.com/users/tjiang11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjiang11/subscriptions","organizations_url":"https://api.github.com/users/tjiang11/orgs","repos_url":"https://api.github.com/users/tjiang11/repos","events_url":"https://api.github.com/users/tjiang11/events{/privacy}","received_events_url":"https://api.github.com/users/tjiang11/received_events","type":"User","site_admin":false},"assignees":[{"login":"tjiang11","id":11807091,"avatar_url":"https://avatars.githubusercontent.com/u/11807091?v=3","gravatar_id":"","url":"https://api.github.com/users/tjiang11","html_url":"https://github.com/tjiang11","followers_url":"https://api.github.com/users/tjiang11/followers","following_url":"https://api.github.com/users/tjiang11/following{/other_user}","gists_url":"https://api.github.com/users/tjiang11/gists{/gist_id}","starred_url":"https://api.github.com/users/tjiang11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjiang11/subscriptions","organizations_url":"https://api.github.com/users/tjiang11/orgs","repos_url":"https://api.github.com/users/tjiang11/repos","events_url":"https://api.github.com/users/tjiang11/events{/privacy}","received_events_url":"https://api.github.com/users/tjiang11/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/oppia/oppia/pulls/3115/commits","review_comments_url":"https://api.github.com/repos/oppia/oppia/pulls/3115/comments","review_comment_url":"https://api.github.com/repos/oppia/oppia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oppia/oppia/issues/3115/comments","statuses_url":"https://api.github.com/repos/oppia/oppia/statuses/646206e0121a55fda503ce875724d6a3dbb1f4e1","head":{"label":"95adityajain:graph-input-change-mode-after-adding-vertex","ref":"graph-input-change-mode-after-adding-vertex","sha":"646206e0121a55fda503ce875724d6a3dbb1f4e1","user":{"login":"95adityajain","id":22568835,"avatar_url":"https://avatars.githubusercontent.com/u/22568835?v=3","gravatar_id":"","url":"https://api.github.com/users/95adityajain","html_url":"https://github.com/95adityajain","followers_url":"https://api.github.com/users/95adityajain/followers","following_url":"https://api.github.com/users/95adityajain/following{/other_user}","gists_url":"https://api.github.com/users/95adityajain/gists{/gist_id}","starred_url":"https://api.github.com/users/95adityajain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/95adityajain/subscriptions","organizations_url":"https://api.github.com/users/95adityajain/orgs","repos_url":"https://api.github.com/users/95adityajain/repos","events_url":"https://api.github.com/users/95adityajain/events{/privacy}","received_events_url":"https://api.github.com/users/95adityajain/received_events","type":"User","site_admin":false},"repo":{"id":83197092,"name":"oppia","full_name":"95adityajain/oppia","owner":{"login":"95adityajain","id":22568835,"avatar_url":"https://avatars.githubusercontent.com/u/22568835?v=3","gravatar_id":"","url":"https://api.github.com/users/95adityajain","html_url":"https://github.com/95adityajain","followers_url":"https://api.github.com/users/95adityajain/followers","following_url":"https://api.github.com/users/95adityajain/following{/other_user}","gists_url":"https://api.github.com/users/95adityajain/gists{/gist_id}","starred_url":"https://api.github.com/users/95adityajain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/95adityajain/subscriptions","organizations_url":"https://api.github.com/users/95adityajain/orgs","repos_url":"https://api.github.com/users/95adityajain/repos","events_url":"https://api.github.com/users/95adityajain/events{/privacy}","received_events_url":"https://api.github.com/users/95adityajain/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/95adityajain/oppia","description":"Tool for collaboratively building interactive lessons.","fork":true,"url":"https://api.github.com/repos/95adityajain/oppia","forks_url":"https://api.github.com/repos/95adityajain/oppia/forks","keys_url":"https://api.github.com/repos/95adityajain/oppia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/95adityajain/oppia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/95adityajain/oppia/teams","hooks_url":"https://api.github.com/repos/95adityajain/oppia/hooks","issue_events_url":"https://api.github.com/repos/95adityajain/oppia/issues/events{/number}","events_url":"https://api.github.com/repos/95adityajain/oppia/events","assignees_url":"https://api.github.com/repos/95adityajain/oppia/assignees{/user}","branches_url":"https://api.github.com/repos/95adityajain/oppia/branches{/branch}","tags_url":"https://api.github.com/repos/95adityajain/oppia/tags","blobs_url":"https://api.github.com/repos/95adityajain/oppia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/95adityajain/oppia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/95adityajain/oppia/git/refs{/sha}","trees_url":"https://api.github.com/repos/95adityajain/oppia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/95adityajain/oppia/statuses/{sha}","languages_url":"https://api.github.com/repos/95adityajain/oppia/languages","stargazers_url":"https://api.github.com/repos/95adityajain/oppia/stargazers","contributors_url":"https://api.github.com/repos/95adityajain/oppia/contributors","subscribers_url":"https://api.github.com/repos/95adityajain/oppia/subscribers","subscription_url":"https://api.github.com/repos/95adityajain/oppia/subscription","commits_url":"https://api.github.com/repos/95adityajain/oppia/commits{/sha}","git_commits_url":"https://api.github.com/repos/95adityajain/oppia/git/commits{/sha}","comments_url":"https://api.github.com/repos/95adityajain/oppia/comments{/number}","issue_comment_url":"https://api.github.com/repos/95adityajain/oppia/issues/comments{/number}","contents_url":"https://api.github.com/repos/95adityajain/oppia/contents/{+path}","compare_url":"https://api.github.com/repos/95adityajain/oppia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/95adityajain/oppia/merges","archive_url":"https://api.github.com/repos/95adityajain/oppia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/95adityajain/oppia/downloads","issues_url":"https://api.github.com/repos/95adityajain/oppia/issues{/number}","pulls_url":"https://api.github.com/repos/95adityajain/oppia/pulls{/number}","milestones_url":"https://api.github.com/repos/95adityajain/oppia/milestones{/number}","notifications_url":"https://api.github.com/repos/95adityajain/oppia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/95adityajain/oppia/labels{/name}","releases_url":"https://api.github.com/repos/95adityajain/oppia/releases{/id}","deployments_url":"https://api.github.com/repos/95adityajain/oppia/deployments","created_at":"2017-02-26T09:23:57Z","updated_at":"2017-02-26T09:24:02Z","pushed_at":"2017-02-26T15:27:25Z","git_url":"git://github.com/95adityajain/oppia.git","ssh_url":"git@github.com:95adityajain/oppia.git","clone_url":"https://github.com/95adityajain/oppia.git","svn_url":"https://github.com/95adityajain/oppia","homepage":"https://www.oppia.org","size":49845,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":false,"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":"develop"}},"base":{"label":"oppia:develop","ref":"develop","sha":"e2fc07e452acc079d1ea5d47e7e906515169dfe7","user":{"login":"oppia","id":11620230,"avatar_url":"https://avatars.githubusercontent.com/u/11620230?v=3","gravatar_id":"","url":"https://api.github.com/users/oppia","html_url":"https://github.com/oppia","followers_url":"https://api.github.com/users/oppia/followers","following_url":"https://api.github.com/users/oppia/following{/other_user}","gists_url":"https://api.github.com/users/oppia/gists{/gist_id}","starred_url":"https://api.github.com/users/oppia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oppia/subscriptions","organizations_url":"https://api.github.com/users/oppia/orgs","repos_url":"https://api.github.com/users/oppia/repos","events_url":"https://api.github.com/users/oppia/events{/privacy}","received_events_url":"https://api.github.com/users/oppia/received_events","type":"Organization","site_admin":false},"repo":{"id":40687563,"name":"oppia","full_name":"oppia/oppia","owner":{"login":"oppia","id":11620230,"avatar_url":"https://avatars.githubusercontent.com/u/11620230?v=3","gravatar_id":"","url":"https://api.github.com/users/oppia","html_url":"https://github.com/oppia","followers_url":"https://api.github.com/users/oppia/followers","following_url":"https://api.github.com/users/oppia/following{/other_user}","gists_url":"https://api.github.com/users/oppia/gists{/gist_id}","starred_url":"https://api.github.com/users/oppia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oppia/subscriptions","organizations_url":"https://api.github.com/users/oppia/orgs","repos_url":"https://api.github.com/users/oppia/repos","events_url":"https://api.github.com/users/oppia/events{/privacy}","received_events_url":"https://api.github.com/users/oppia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/oppia/oppia","description":"Tool for collaboratively building interactive lessons.","fork":false,"url":"https://api.github.com/repos/oppia/oppia","forks_url":"https://api.github.com/repos/oppia/oppia/forks","keys_url":"https://api.github.com/repos/oppia/oppia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oppia/oppia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oppia/oppia/teams","hooks_url":"https://api.github.com/repos/oppia/oppia/hooks","issue_events_url":"https://api.github.com/repos/oppia/oppia/issues/events{/number}","events_url":"https://api.github.com/repos/oppia/oppia/events","assignees_url":"https://api.github.com/repos/oppia/oppia/assignees{/user}","branches_url":"https://api.github.com/repos/oppia/oppia/branches{/branch}","tags_url":"https://api.github.com/repos/oppia/oppia/tags","blobs_url":"https://api.github.com/repos/oppia/oppia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oppia/oppia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oppia/oppia/git/refs{/sha}","trees_url":"https://api.github.com/repos/oppia/oppia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oppia/oppia/statuses/{sha}","languages_url":"https://api.github.com/repos/oppia/oppia/languages","stargazers_url":"https://api.github.com/repos/oppia/oppia/stargazers","contributors_url":"https://api.github.com/repos/oppia/oppia/contributors","subscribers_url":"https://api.github.com/repos/oppia/oppia/subscribers","subscription_url":"https://api.github.com/repos/oppia/oppia/subscription","commits_url":"https://api.github.com/repos/oppia/oppia/commits{/sha}","git_commits_url":"https://api.github.com/repos/oppia/oppia/git/commits{/sha}","comments_url":"https://api.github.com/repos/oppia/oppia/comments{/number}","issue_comment_url":"https://api.github.com/repos/oppia/oppia/issues/comments{/number}","contents_url":"https://api.github.com/repos/oppia/oppia/contents/{+path}","compare_url":"https://api.github.com/repos/oppia/oppia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oppia/oppia/merges","archive_url":"https://api.github.com/repos/oppia/oppia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oppia/oppia/downloads","issues_url":"https://api.github.com/repos/oppia/oppia/issues{/number}","pulls_url":"https://api.github.com/repos/oppia/oppia/pulls{/number}","milestones_url":"https://api.github.com/repos/oppia/oppia/milestones{/number}","notifications_url":"https://api.github.com/repos/oppia/oppia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oppia/oppia/labels{/name}","releases_url":"https://api.github.com/repos/oppia/oppia/releases{/id}","deployments_url":"https://api.github.com/repos/oppia/oppia/deployments","created_at":"2015-08-14T00:16:14Z","updated_at":"2017-02-26T19:59:58Z","pushed_at":"2017-02-27T05:54:37Z","git_url":"git://github.com/oppia/oppia.git","ssh_url":"git@github.com:oppia/oppia.git","clone_url":"https://github.com/oppia/oppia.git","svn_url":"https://github.com/oppia/oppia","homepage":"https://www.oppia.org","size":49852,"stargazers_count":227,"watchers_count":227,"language":"Python","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":348,"mirror_url":null,"open_issues_count":356,"forks":348,"open_issues":356,"watchers":227,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/oppia/oppia/pulls/3115"},"html":{"href":"https://github.com/oppia/oppia/pull/3115"},"issue":{"href":"https://api.github.com/repos/oppia/oppia/issues/3115"},"comments":{"href":"https://api.github.com/repos/oppia/oppia/issues/3115/comments"},"review_comments":{"href":"https://api.github.com/repos/oppia/oppia/pulls/3115/comments"},"review_comment":{"href":"https://api.github.com/repos/oppia/oppia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oppia/oppia/pulls/3115/commits"},"statuses":{"href":"https://api.github.com/repos/oppia/oppia/statuses/646206e0121a55fda503ce875724d6a3dbb1f4e1"}}}}
{"actor":{"display_login":"95adityajain"}}