{"action":"closed","issue":{"url":"https://api.github.com/repos/susielu/d3-annotation/issues/28","repository_url":"https://api.github.com/repos/susielu/d3-annotation","labels_url":"https://api.github.com/repos/susielu/d3-annotation/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/susielu/d3-annotation/issues/28/comments","events_url":"https://api.github.com/repos/susielu/d3-annotation/issues/28/events","html_url":"https://github.com/susielu/d3-annotation/issues/28","id":230132605,"number":28,"title":"bug end-connector change dynamically","user":{"login":"lorenzopub","id":10477169,"avatar_url":"https://avatars2.githubusercontent.com/u/10477169?v=3","gravatar_id":"","url":"https://api.github.com/users/lorenzopub","html_url":"https://github.com/lorenzopub","followers_url":"https://api.github.com/users/lorenzopub/followers","following_url":"https://api.github.com/users/lorenzopub/following{/other_user}","gists_url":"https://api.github.com/users/lorenzopub/gists{/gist_id}","starred_url":"https://api.github.com/users/lorenzopub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorenzopub/subscriptions","organizations_url":"https://api.github.com/users/lorenzopub/orgs","repos_url":"https://api.github.com/users/lorenzopub/repos","events_url":"https://api.github.com/users/lorenzopub/events{/privacy}","received_events_url":"https://api.github.com/users/lorenzopub/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-05-20T05:48:02Z","updated_at":"2017-06-06T23:48:04Z","closed_at":"2017-06-06T23:48:04Z","body":"hi susie,\r\n\r\ni just found a bug with the end-connector :\r\n\r\nafter 1st setup, if i want to change the end-connector dynamically, the new end-connector is displayed but the old one is not removed.\r\n\r\n1st setup : annotation.connector.end = 'dot';\r\n\r\n....\r\nannotation = makeAnnotations.annotations.collection().annotations[annotation_idx];\r\nannotation.connector.end = 'arrow'\r\nmakeAnnotations.annotations.update();\r\n\r\n![image](https://cloud.githubusercontent.com/assets/10477169/26273435/a576cd88-3d30-11e7-819f-6c539838493d.png)\r\n"}}
{"actor":{"display_login":"susielu"}}