{"action":"opened","issue":{"url":"https://api.github.com/repos/krs-world/bridges/issues/77","repository_url":"https://api.github.com/repos/krs-world/bridges","labels_url":"https://api.github.com/repos/krs-world/bridges/issues/77/labels{/name}","comments_url":"https://api.github.com/repos/krs-world/bridges/issues/77/comments","events_url":"https://api.github.com/repos/krs-world/bridges/issues/77/events","html_url":"https://github.com/krs-world/bridges/issues/77","id":136422442,"number":77,"title":"Location Attribute.","user":{"login":"krs-world","id":5657144,"avatar_url":"https://avatars.githubusercontent.com/u/5657144?v=3","gravatar_id":"","url":"https://api.github.com/users/krs-world","html_url":"https://github.com/krs-world","followers_url":"https://api.github.com/users/krs-world/followers","following_url":"https://api.github.com/users/krs-world/following{/other_user}","gists_url":"https://api.github.com/users/krs-world/gists{/gist_id}","starred_url":"https://api.github.com/users/krs-world/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krs-world/subscriptions","organizations_url":"https://api.github.com/users/krs-world/orgs","repos_url":"https://api.github.com/users/krs-world/repos","events_url":"https://api.github.com/users/krs-world/events{/privacy}","received_events_url":"https://api.github.com/users/krs-world/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-25T15:34:18Z","updated_at":"2016-02-25T15:34:18Z","closed_at":null,"body":"I have added a location attribute to the ElementVisualizer. There is now a \r\nset/getLocation() methods; actually I probably will remoe the getLocation()\r\nsince the user doesnt need that(its private now). Since the JSON of the data structure iterates through the attributes, this gets automatically picked up. Here is an example from a trivial linked list (note teh location attribute in the 3 nodes) \r\n\r\n{\"name\": \"edu.uncc.cs.bridges\",\"version\": \"0.4.0\",\"visual\": \"llist\",\"nodes\": [{\"color\": \"green\", \"size\": \"10.0\", \"shape\": \"circle\", \"location\": \"0.0 0.0\", \"opacity\": \"1.0\", \"key\": \"\", \"name\": \"3\"},{\"color\": \"green\", \"size\": \"10.0\", \"shape\": \"circle\", \"location\": \"3.0 4.0\", \"opacity\": \"1.0\", \"key\": \"\", \"name\": \"2\"},{\"color\": \"green\", \"size\": \"10.0\", \"shape\": \"circle\", \"location\": \"2.0 3.0\", \"opacity\": \"1.0\", \"key\": \"\", \"name\": \"1\"},{\"color\": \"red\", \"size\": \"10.0\", \"shape\": \"circle\", \"location\": \"1.0 2.0\", \"opacity\": \"1.0\", \"key\": \"\", \"name\": \"0\"}],\"links\": [{\"color\":\"cyan\",\"width\":\"1.0\",\"weight\":\"1.0\",\"opacity\":\"1.0\",\"source\":1,\"target\":0},{\"color\":\"blue\",\"width\":\"1.0\",\"weight\":\"1.0\",\"opacity\":\"1.0\",\"source\":2,\"target\":1},{\"color\":\"red\",\"width\":\"1.0\",\"weight\":\"1.0\",\"opacity\":\"1.0\",\"source\":3,\"target\":2}]}\r\nCheck out your visuals at http://bridges-cs.herokuapp.com/assignments/3.00/kalpathi60?apikey=486749122386\r\n\r\n(David, Mihai - Jar file in Dropbox:java/bridges-all-2.0.4.jar)\r\n\r\n"}}