{"action":"created","issue":{"url":"https://api.github.com/repos/DNAinator/dnainator/issues/41","labels_url":"https://api.github.com/repos/DNAinator/dnainator/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/DNAinator/dnainator/issues/41/comments","events_url":"https://api.github.com/repos/DNAinator/dnainator/issues/41/events","html_url":"https://github.com/DNAinator/dnainator/pull/41","id":73706171,"number":41,"title":"[RFC] Start drawing graphs.","user":{"login":"Unia","id":1260727,"avatar_url":"https://avatars.githubusercontent.com/u/1260727?v=3","gravatar_id":"","url":"https://api.github.com/users/Unia","html_url":"https://github.com/Unia","followers_url":"https://api.github.com/users/Unia/followers","following_url":"https://api.github.com/users/Unia/following{/other_user}","gists_url":"https://api.github.com/users/Unia/gists{/gist_id}","starred_url":"https://api.github.com/users/Unia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unia/subscriptions","organizations_url":"https://api.github.com/users/Unia/orgs","repos_url":"https://api.github.com/users/Unia/repos","events_url":"https://api.github.com/users/Unia/events{/privacy}","received_events_url":"https://api.github.com/users/Unia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-06T18:52:06Z","updated_at":"2015-05-08T20:48:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/DNAinator/dnainator/pulls/41","html_url":"https://github.com/DNAinator/dnainator/pull/41","diff_url":"https://github.com/DNAinator/dnainator/pull/41.diff","patch_url":"https://github.com/DNAinator/dnainator/pull/41.patch"},"body":"This is an early WIP PR to show progress and keep everyone up to date. There is basic drawing but many things are not done:\r\n\r\n* Edges are currently not drawn;\r\n* ~~`GraphModel` currently hardcodes a fake dataset. This obviously has to go and it has to interact with `Neo4jGraphDatabase`.~~ **Very**, *very* basic integration is here now. Further integration I had imagined to be a task for @balletie and @gfokkema;\r\n* There is only one `View` at the moment, the `SequenceView`. In due time all defined zoomlevels should have their own view. ~~There is no option at the moment to set the active view, as there is only one;~~\r\n* When we have multiple views, it might be necessary to define additional models. We will see in due time;\r\n* ~~We should create some layout managers (`nl.tudelft.dnainator.ui.layouts`) that the `View` implementations can query for coordinates, e.g.:~~\r\n```java\r\n\t\tfor (SequenceNode n : model.getNodes()) {\r\n\t\t\tPoint2D coords = sequenceLayout.transform(n);\r\n\t\t\troot.getChildren().add(new DrawableNode(coords.getX(), coords.getY()));\r\n\t\t}\r\n```\r\nThere is now a `TopoLayout` but it can definitely use some improvements;\r\n* The drawables we have now are really rudimentary. Basically they don't even have a reason to exist yet;\r\n\r\nI'm probably forgetting more points, but I'll add those once I remember them. Have at it :)"},"comment":{"url":"https://api.github.com/repos/DNAinator/dnainator/issues/comments/100358703","html_url":"https://github.com/DNAinator/dnainator/pull/41#issuecomment-100358703","issue_url":"https://api.github.com/repos/DNAinator/dnainator/issues/41","id":100358703,"user":{"login":"gfokkema","id":5970912,"avatar_url":"https://avatars.githubusercontent.com/u/5970912?v=3","gravatar_id":"","url":"https://api.github.com/users/gfokkema","html_url":"https://github.com/gfokkema","followers_url":"https://api.github.com/users/gfokkema/followers","following_url":"https://api.github.com/users/gfokkema/following{/other_user}","gists_url":"https://api.github.com/users/gfokkema/gists{/gist_id}","starred_url":"https://api.github.com/users/gfokkema/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gfokkema/subscriptions","organizations_url":"https://api.github.com/users/gfokkema/orgs","repos_url":"https://api.github.com/users/gfokkema/repos","events_url":"https://api.github.com/users/gfokkema/events{/privacy}","received_events_url":"https://api.github.com/users/gfokkema/received_events","type":"User","site_admin":false},"created_at":"2015-05-08T20:48:50Z","updated_at":"2015-05-08T20:48:50Z","body":"Reviewed."}}