{"action":"created","issue":{"url":"https://api.github.com/repos/Shawngbk/CSCI585-HW/issues/1","repository_url":"https://api.github.com/repos/Shawngbk/CSCI585-HW","labels_url":"https://api.github.com/repos/Shawngbk/CSCI585-HW/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Shawngbk/CSCI585-HW/issues/1/comments","events_url":"https://api.github.com/repos/Shawngbk/CSCI585-HW/issues/1/events","html_url":"https://github.com/Shawngbk/CSCI585-HW/issues/1","id":189533838,"number":1,"title":"Gremlin","user":{"login":"Shawngbk","id":18609174,"avatar_url":"https://avatars.githubusercontent.com/u/18609174?v=3","gravatar_id":"","url":"https://api.github.com/users/Shawngbk","html_url":"https://github.com/Shawngbk","followers_url":"https://api.github.com/users/Shawngbk/followers","following_url":"https://api.github.com/users/Shawngbk/following{/other_user}","gists_url":"https://api.github.com/users/Shawngbk/gists{/gist_id}","starred_url":"https://api.github.com/users/Shawngbk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shawngbk/subscriptions","organizations_url":"https://api.github.com/users/Shawngbk/orgs","repos_url":"https://api.github.com/users/Shawngbk/repos","events_url":"https://api.github.com/users/Shawngbk/events{/privacy}","received_events_url":"https://api.github.com/users/Shawngbk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-15T23:09:03Z","updated_at":"2016-11-21T17:56:43Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/Shawngbk/CSCI585-HW/issues/comments/262015663","html_url":"https://github.com/Shawngbk/CSCI585-HW/issues/1#issuecomment-262015663","issue_url":"https://api.github.com/repos/Shawngbk/CSCI585-HW/issues/1","id":262015663,"user":{"login":"Shawngbk","id":18609174,"avatar_url":"https://avatars.githubusercontent.com/u/18609174?v=3","gravatar_id":"","url":"https://api.github.com/users/Shawngbk","html_url":"https://github.com/Shawngbk","followers_url":"https://api.github.com/users/Shawngbk/followers","following_url":"https://api.github.com/users/Shawngbk/following{/other_user}","gists_url":"https://api.github.com/users/Shawngbk/gists{/gist_id}","starred_url":"https://api.github.com/users/Shawngbk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shawngbk/subscriptions","organizations_url":"https://api.github.com/users/Shawngbk/orgs","repos_url":"https://api.github.com/users/Shawngbk/repos","events_url":"https://api.github.com/users/Shawngbk/events{/privacy}","received_events_url":"https://api.github.com/users/Shawngbk/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T17:56:43Z","updated_at":"2016-11-21T17:56:43Z","body":"graph = TinkerGraph.open();\r\nv1 = graph.addVertex(id, \"CS101\")\r\nv2 = graph.addVertex(id, \"CS201\")\r\nv2.addEdge(\"prereq\", v1, id, 1)\r\nv3 = graph.addVertex(id, \"CS220\")\r\nv3.addEdge(\"prereq\", v2, id, 2)\r\nv4 = graph.addVertex(id, \"CS420\")\r\nv4.addEdge(\"prereq\", v3, id, 3)\r\nv4.addEdge(\"coreqs\", v3, id, 4)\r\nv5 = graph.addVertex(id, \"CS334\")\r\nv5.addEdge(\"prereq\", v2, id, 5)\r\nv6 = graph.addVertex(id, \"CS681\")\r\nv6.addEdge(\"prereq\", v5, id, 6)\r\nv7 = graph.addVertex(id, \"CS400\")\r\nv7.addEdge(\"prereq\", v5, id, 7)\r\nv8 = graph.addVertex(id, \"CS526\")\r\nv8.addEdge(\"prereq\", v7, id, 8)\r\nv8.addEdge(\"coreqs\", v7, id, 9)\r\ng = graph.traversal()\r\n\r\ng.V().out('coreqs').as('b').in('coreqs').as('a').select('a','b')\r\ng.V().as('a').out('coreqs','prereq').as('b').in('coreqs','prereq').select('a','b')\r\ng.V(\"CS526\").repeat(out('prereq').dedup()).emit()\r\ng.V(\"CS101\").repeat(__.in('prereq')).until(inE().count().is(0)).path().tail(1).unfold().count()\r\n"}}
{"actor":{"display_login":"Shawngbk"}}