{"action":"created","comment":{"url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/pulls/comments/32833939","id":32833939,"diff_hunk":"@@ -116,61 +140,45 @@ public Group drawGraph(final Set<SequenceSegment> segments,\n                     && mappedAnnotations.containsKey(segment)) {\n                 annotations = mappedAnnotations.get(segment);\n             }\n-            drawVertexLane(segment, mutations, annotations);\n+\n+            int laneIndex = drawVertexLane(segment);\n+            nodemap.put(segment, new Container(laneIndex, mutations,\n+                    annotations));\n         }\n \n-        // TODO toggle edge drawing in the settings\n-        // drawEdges(graph);\n-        Group nodes = new Group();\n+        verticalScale = screenHeight / (lanes.size());","path":"lifetiles-graph/src/main/java/nl/tudelft/lifetiles/graph/view/TileView.java","position":88,"original_position":88,"commit_id":"1b062b852c827d6107f2a45297eb474fb627c871","original_commit_id":"1b062b852c827d6107f2a45297eb474fb627c871","user":{"login":"jorenham","id":6208662,"avatar_url":"https://avatars.githubusercontent.com/u/6208662?v=3","gravatar_id":"","url":"https://api.github.com/users/jorenham","html_url":"https://github.com/jorenham","followers_url":"https://api.github.com/users/jorenham/followers","following_url":"https://api.github.com/users/jorenham/following{/other_user}","gists_url":"https://api.github.com/users/jorenham/gists{/gist_id}","starred_url":"https://api.github.com/users/jorenham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jorenham/subscriptions","organizations_url":"https://api.github.com/users/jorenham/orgs","repos_url":"https://api.github.com/users/jorenham/repos","events_url":"https://api.github.com/users/jorenham/events{/privacy}","received_events_url":"https://api.github.com/users/jorenham/received_events","type":"User","site_admin":false},"body":"redundant parentheses","created_at":"2015-06-19T14:29:06Z","updated_at":"2015-06-19T14:29:06Z","html_url":"https://github.com/ProgrammingLife5/LifeTiles/pull/229#discussion_r32833939","pull_request_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/pulls/229","_links":{"self":{"href":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/pulls/comments/32833939"},"html":{"href":"https://github.com/ProgrammingLife5/LifeTiles/pull/229#discussion_r32833939"},"pull_request":{"href":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/pulls/229"}}},"pull_request":{"url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/pulls/229","id":38107944,"html_url":"https://github.com/ProgrammingLife5/LifeTiles/pull/229","diff_url":"https://github.com/ProgrammingLife5/LifeTiles/pull/229.diff","patch_url":"https://github.com/ProgrammingLife5/LifeTiles/pull/229.patch","issue_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/issues/229","number":229,"state":"open","locked":false,"title":"Graph drawing fix","user":{"login":"alangerak","id":5990893,"avatar_url":"https://avatars.githubusercontent.com/u/5990893?v=3","gravatar_id":"","url":"https://api.github.com/users/alangerak","html_url":"https://github.com/alangerak","followers_url":"https://api.github.com/users/alangerak/followers","following_url":"https://api.github.com/users/alangerak/following{/other_user}","gists_url":"https://api.github.com/users/alangerak/gists{/gist_id}","starred_url":"https://api.github.com/users/alangerak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alangerak/subscriptions","organizations_url":"https://api.github.com/users/alangerak/orgs","repos_url":"https://api.github.com/users/alangerak/repos","events_url":"https://api.github.com/users/alangerak/events{/privacy}","received_events_url":"https://api.github.com/users/alangerak/received_events","type":"User","site_admin":false},"body":"Fixed calculation  what buckets are needed to draw the graph on the screen.\r\nAlso, the graph only scales horizontally and the height is now smaller.","created_at":"2015-06-19T13:37:28Z","updated_at":"2015-06-19T14:29:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d074f31b029bedae686544a91ecbce648cd96a3c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/pulls/229/commits","review_comments_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/pulls/229/comments","review_comment_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/issues/229/comments","statuses_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/statuses/1b062b852c827d6107f2a45297eb474fb627c871","head":{"label":"alangerak:graphZooming","ref":"graphZooming","sha":"1b062b852c827d6107f2a45297eb474fb627c871","user":{"login":"alangerak","id":5990893,"avatar_url":"https://avatars.githubusercontent.com/u/5990893?v=3","gravatar_id":"","url":"https://api.github.com/users/alangerak","html_url":"https://github.com/alangerak","followers_url":"https://api.github.com/users/alangerak/followers","following_url":"https://api.github.com/users/alangerak/following{/other_user}","gists_url":"https://api.github.com/users/alangerak/gists{/gist_id}","starred_url":"https://api.github.com/users/alangerak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alangerak/subscriptions","organizations_url":"https://api.github.com/users/alangerak/orgs","repos_url":"https://api.github.com/users/alangerak/repos","events_url":"https://api.github.com/users/alangerak/events{/privacy}","received_events_url":"https://api.github.com/users/alangerak/received_events","type":"User","site_admin":false},"repo":{"id":34719481,"name":"LifeTiles","full_name":"alangerak/LifeTiles","owner":{"login":"alangerak","id":5990893,"avatar_url":"https://avatars.githubusercontent.com/u/5990893?v=3","gravatar_id":"","url":"https://api.github.com/users/alangerak","html_url":"https://github.com/alangerak","followers_url":"https://api.github.com/users/alangerak/followers","following_url":"https://api.github.com/users/alangerak/following{/other_user}","gists_url":"https://api.github.com/users/alangerak/gists{/gist_id}","starred_url":"https://api.github.com/users/alangerak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alangerak/subscriptions","organizations_url":"https://api.github.com/users/alangerak/orgs","repos_url":"https://api.github.com/users/alangerak/repos","events_url":"https://api.github.com/users/alangerak/events{/privacy}","received_events_url":"https://api.github.com/users/alangerak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alangerak/LifeTiles","description":"Visualization and comparison of DNA strains. ","fork":true,"url":"https://api.github.com/repos/alangerak/LifeTiles","forks_url":"https://api.github.com/repos/alangerak/LifeTiles/forks","keys_url":"https://api.github.com/repos/alangerak/LifeTiles/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alangerak/LifeTiles/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alangerak/LifeTiles/teams","hooks_url":"https://api.github.com/repos/alangerak/LifeTiles/hooks","issue_events_url":"https://api.github.com/repos/alangerak/LifeTiles/issues/events{/number}","events_url":"https://api.github.com/repos/alangerak/LifeTiles/events","assignees_url":"https://api.github.com/repos/alangerak/LifeTiles/assignees{/user}","branches_url":"https://api.github.com/repos/alangerak/LifeTiles/branches{/branch}","tags_url":"https://api.github.com/repos/alangerak/LifeTiles/tags","blobs_url":"https://api.github.com/repos/alangerak/LifeTiles/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alangerak/LifeTiles/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alangerak/LifeTiles/git/refs{/sha}","trees_url":"https://api.github.com/repos/alangerak/LifeTiles/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alangerak/LifeTiles/statuses/{sha}","languages_url":"https://api.github.com/repos/alangerak/LifeTiles/languages","stargazers_url":"https://api.github.com/repos/alangerak/LifeTiles/stargazers","contributors_url":"https://api.github.com/repos/alangerak/LifeTiles/contributors","subscribers_url":"https://api.github.com/repos/alangerak/LifeTiles/subscribers","subscription_url":"https://api.github.com/repos/alangerak/LifeTiles/subscription","commits_url":"https://api.github.com/repos/alangerak/LifeTiles/commits{/sha}","git_commits_url":"https://api.github.com/repos/alangerak/LifeTiles/git/commits{/sha}","comments_url":"https://api.github.com/repos/alangerak/LifeTiles/comments{/number}","issue_comment_url":"https://api.github.com/repos/alangerak/LifeTiles/issues/comments{/number}","contents_url":"https://api.github.com/repos/alangerak/LifeTiles/contents/{+path}","compare_url":"https://api.github.com/repos/alangerak/LifeTiles/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alangerak/LifeTiles/merges","archive_url":"https://api.github.com/repos/alangerak/LifeTiles/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alangerak/LifeTiles/downloads","issues_url":"https://api.github.com/repos/alangerak/LifeTiles/issues{/number}","pulls_url":"https://api.github.com/repos/alangerak/LifeTiles/pulls{/number}","milestones_url":"https://api.github.com/repos/alangerak/LifeTiles/milestones{/number}","notifications_url":"https://api.github.com/repos/alangerak/LifeTiles/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alangerak/LifeTiles/labels{/name}","releases_url":"https://api.github.com/repos/alangerak/LifeTiles/releases{/id}","created_at":"2015-04-28T08:51:27Z","updated_at":"2015-05-05T09:30:04Z","pushed_at":"2015-06-19T13:34:52Z","git_url":"git://github.com/alangerak/LifeTiles.git","ssh_url":"git@github.com:alangerak/LifeTiles.git","clone_url":"https://github.com/alangerak/LifeTiles.git","svn_url":"https://github.com/alangerak/LifeTiles","homepage":"","size":20939,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"ProgrammingLife5:dev","ref":"dev","sha":"42318045be5421f837806f992ad77b4ea551f65b","user":{"login":"ProgrammingLife5","id":12098162,"avatar_url":"https://avatars.githubusercontent.com/u/12098162?v=3","gravatar_id":"","url":"https://api.github.com/users/ProgrammingLife5","html_url":"https://github.com/ProgrammingLife5","followers_url":"https://api.github.com/users/ProgrammingLife5/followers","following_url":"https://api.github.com/users/ProgrammingLife5/following{/other_user}","gists_url":"https://api.github.com/users/ProgrammingLife5/gists{/gist_id}","starred_url":"https://api.github.com/users/ProgrammingLife5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProgrammingLife5/subscriptions","organizations_url":"https://api.github.com/users/ProgrammingLife5/orgs","repos_url":"https://api.github.com/users/ProgrammingLife5/repos","events_url":"https://api.github.com/users/ProgrammingLife5/events{/privacy}","received_events_url":"https://api.github.com/users/ProgrammingLife5/received_events","type":"Organization","site_admin":false},"repo":{"id":34513744,"name":"LifeTiles","full_name":"ProgrammingLife5/LifeTiles","owner":{"login":"ProgrammingLife5","id":12098162,"avatar_url":"https://avatars.githubusercontent.com/u/12098162?v=3","gravatar_id":"","url":"https://api.github.com/users/ProgrammingLife5","html_url":"https://github.com/ProgrammingLife5","followers_url":"https://api.github.com/users/ProgrammingLife5/followers","following_url":"https://api.github.com/users/ProgrammingLife5/following{/other_user}","gists_url":"https://api.github.com/users/ProgrammingLife5/gists{/gist_id}","starred_url":"https://api.github.com/users/ProgrammingLife5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProgrammingLife5/subscriptions","organizations_url":"https://api.github.com/users/ProgrammingLife5/orgs","repos_url":"https://api.github.com/users/ProgrammingLife5/repos","events_url":"https://api.github.com/users/ProgrammingLife5/events{/privacy}","received_events_url":"https://api.github.com/users/ProgrammingLife5/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ProgrammingLife5/LifeTiles","description":"Visualization and comparison of DNA strains. ","fork":false,"url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles","forks_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/forks","keys_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/teams","hooks_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/hooks","issue_events_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/issues/events{/number}","events_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/events","assignees_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/assignees{/user}","branches_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/branches{/branch}","tags_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/tags","blobs_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/git/refs{/sha}","trees_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/statuses/{sha}","languages_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/languages","stargazers_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/stargazers","contributors_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/contributors","subscribers_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/subscribers","subscription_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/subscription","commits_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/commits{/sha}","git_commits_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/git/commits{/sha}","comments_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/comments{/number}","issue_comment_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/issues/comments{/number}","contents_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/contents/{+path}","compare_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/merges","archive_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/downloads","issues_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/issues{/number}","pulls_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/pulls{/number}","milestones_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/milestones{/number}","notifications_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/labels{/name}","releases_url":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/releases{/id}","created_at":"2015-04-24T10:56:58Z","updated_at":"2015-06-03T09:38:23Z","pushed_at":"2015-06-19T14:23:37Z","git_url":"git://github.com/ProgrammingLife5/LifeTiles.git","ssh_url":"git@github.com:ProgrammingLife5/LifeTiles.git","clone_url":"https://github.com/ProgrammingLife5/LifeTiles.git","svn_url":"https://github.com/ProgrammingLife5/LifeTiles","homepage":"","size":23522,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":15,"forks":5,"open_issues":15,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/pulls/229"},"html":{"href":"https://github.com/ProgrammingLife5/LifeTiles/pull/229"},"issue":{"href":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/issues/229"},"comments":{"href":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/issues/229/comments"},"review_comments":{"href":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/pulls/229/comments"},"review_comment":{"href":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/pulls/229/commits"},"statuses":{"href":"https://api.github.com/repos/ProgrammingLife5/LifeTiles/statuses/1b062b852c827d6107f2a45297eb474fb627c871"}}}}