{"action":"created","issue":{"url":"https://api.github.com/repos/anqitong/LangageDessinVectoriel/issues/32","labels_url":"https://api.github.com/repos/anqitong/LangageDessinVectoriel/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/anqitong/LangageDessinVectoriel/issues/32/comments","events_url":"https://api.github.com/repos/anqitong/LangageDessinVectoriel/issues/32/events","html_url":"https://github.com/anqitong/LangageDessinVectoriel/pull/32","id":113314133,"number":32,"title":"Add UML to settle down the project's structure","user":{"login":"starsasumi","id":2586228,"avatar_url":"https://avatars.githubusercontent.com/u/2586228?v=3","gravatar_id":"","url":"https://api.github.com/users/starsasumi","html_url":"https://github.com/starsasumi","followers_url":"https://api.github.com/users/starsasumi/followers","following_url":"https://api.github.com/users/starsasumi/following{/other_user}","gists_url":"https://api.github.com/users/starsasumi/gists{/gist_id}","starred_url":"https://api.github.com/users/starsasumi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starsasumi/subscriptions","organizations_url":"https://api.github.com/users/starsasumi/orgs","repos_url":"https://api.github.com/users/starsasumi/repos","events_url":"https://api.github.com/users/starsasumi/events{/privacy}","received_events_url":"https://api.github.com/users/starsasumi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/anqitong/LangageDessinVectoriel/labels/discussion","name":"discussion","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"starsasumi","id":2586228,"avatar_url":"https://avatars.githubusercontent.com/u/2586228?v=3","gravatar_id":"","url":"https://api.github.com/users/starsasumi","html_url":"https://github.com/starsasumi","followers_url":"https://api.github.com/users/starsasumi/followers","following_url":"https://api.github.com/users/starsasumi/following{/other_user}","gists_url":"https://api.github.com/users/starsasumi/gists{/gist_id}","starred_url":"https://api.github.com/users/starsasumi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starsasumi/subscriptions","organizations_url":"https://api.github.com/users/starsasumi/orgs","repos_url":"https://api.github.com/users/starsasumi/repos","events_url":"https://api.github.com/users/starsasumi/events{/privacy}","received_events_url":"https://api.github.com/users/starsasumi/received_events","type":"User","site_admin":false},"milestone":null,"comments":28,"created_at":"2015-10-26T09:23:00Z","updated_at":"2015-10-27T22:24:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/anqitong/LangageDessinVectoriel/pulls/32","html_url":"https://github.com/anqitong/LangageDessinVectoriel/pull/32","diff_url":"https://github.com/anqitong/LangageDessinVectoriel/pull/32.diff","patch_url":"https://github.com/anqitong/LangageDessinVectoriel/pull/32.patch"},"body":"#28\r\n\r\nOK to merge.\r\n\r\n**Note**: To preview the UML (SVG file), click the \"View\" button in the \"Files changed\" tab on this PR. And you can right-click the image to open it in a new navigator tab to watch a larger image.\r\n<img width=\"934\" alt=\"screen shot 2015-10-26 at 11 25 42\" src=\"https://cloud.githubusercontent.com/assets/2586228/10726659/5c80035c-7bd4-11e5-8278-a3b1dd488e8d.png\">\r\n\r\nWhat I did:\r\n\r\n1. Add initial UML that reflect our existed codes\r\n2. Move SVGInterface to model package\r\n3. Adapt factory pattern in the creation of shape\r\n4. Add interfaces for script language\r\n5. Remove all presentation related apis out of shapes\r\n6. Add interaction mechanism between presentations and shapes\r\n7. Add demo codes in `src/model/presentation/`"},"comment":{"url":"https://api.github.com/repos/anqitong/LangageDessinVectoriel/issues/comments/151663165","html_url":"https://github.com/anqitong/LangageDessinVectoriel/pull/32#issuecomment-151663165","issue_url":"https://api.github.com/repos/anqitong/LangageDessinVectoriel/issues/32","id":151663165,"user":{"login":"starsasumi","id":2586228,"avatar_url":"https://avatars.githubusercontent.com/u/2586228?v=3","gravatar_id":"","url":"https://api.github.com/users/starsasumi","html_url":"https://github.com/starsasumi","followers_url":"https://api.github.com/users/starsasumi/followers","following_url":"https://api.github.com/users/starsasumi/following{/other_user}","gists_url":"https://api.github.com/users/starsasumi/gists{/gist_id}","starred_url":"https://api.github.com/users/starsasumi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starsasumi/subscriptions","organizations_url":"https://api.github.com/users/starsasumi/orgs","repos_url":"https://api.github.com/users/starsasumi/repos","events_url":"https://api.github.com/users/starsasumi/events{/privacy}","received_events_url":"https://api.github.com/users/starsasumi/received_events","type":"User","site_admin":false},"created_at":"2015-10-27T22:24:11Z","updated_at":"2015-10-27T22:24:11Z","body":"Both. One new object a time or only one object for a type, all two ways work.  And as an interface, it don't care. "}}