{"action":"created","issue":{"url":"https://api.github.com/repos/almende/vis/issues/1030","labels_url":"https://api.github.com/repos/almende/vis/issues/1030/labels{/name}","comments_url":"https://api.github.com/repos/almende/vis/issues/1030/comments","events_url":"https://api.github.com/repos/almende/vis/issues/1030/events","html_url":"https://github.com/almende/vis/pull/1030","id":91021146,"number":1030,"title":"Added  feature drawPoints.onRender","user":{"login":"mschallar","id":6470225,"avatar_url":"https://avatars.githubusercontent.com/u/6470225?v=3","gravatar_id":"","url":"https://api.github.com/users/mschallar","html_url":"https://github.com/mschallar","followers_url":"https://api.github.com/users/mschallar/followers","following_url":"https://api.github.com/users/mschallar/following{/other_user}","gists_url":"https://api.github.com/users/mschallar/gists{/gist_id}","starred_url":"https://api.github.com/users/mschallar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mschallar/subscriptions","organizations_url":"https://api.github.com/users/mschallar/orgs","repos_url":"https://api.github.com/users/mschallar/repos","events_url":"https://api.github.com/users/mschallar/events{/privacy}","received_events_url":"https://api.github.com/users/mschallar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-25T17:06:47Z","updated_at":"2015-06-26T10:47:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/almende/vis/pulls/1030","html_url":"https://github.com/almende/vis/pull/1030","diff_url":"https://github.com/almende/vis/pull/1030.diff","patch_url":"https://github.com/almende/vis/pull/1030.patch"},"body":"Hello,\r\n\r\nafter creating a feature request https://github.com/almende/vis/issues/1018 my first try was to solve it by adding a `drawPoints.onlyIfLabelExists` property. That was too specific to my application as everyone can see in https://github.com/almende/vis/pull/1027. \r\n\r\nThis time I've added `drawPoints.onRender` callback which can be defined in Graph2d as well in the Group options.\r\n\r\nTake a look at the documentation for further explanation.\r\n\r\nRegards,\r\nManuel"},"comment":{"url":"https://api.github.com/repos/almende/vis/issues/comments/115641379","html_url":"https://github.com/almende/vis/pull/1030#issuecomment-115641379","issue_url":"https://api.github.com/repos/almende/vis/issues/1030","id":115641379,"user":{"login":"AlexDM0","id":5363277,"avatar_url":"https://avatars.githubusercontent.com/u/5363277?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexDM0","html_url":"https://github.com/AlexDM0","followers_url":"https://api.github.com/users/AlexDM0/followers","following_url":"https://api.github.com/users/AlexDM0/following{/other_user}","gists_url":"https://api.github.com/users/AlexDM0/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexDM0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexDM0/subscriptions","organizations_url":"https://api.github.com/users/AlexDM0/orgs","repos_url":"https://api.github.com/users/AlexDM0/repos","events_url":"https://api.github.com/users/AlexDM0/events{/privacy}","received_events_url":"https://api.github.com/users/AlexDM0/received_events","type":"User","site_admin":false},"created_at":"2015-06-26T10:47:24Z","updated_at":"2015-06-26T10:47:24Z","body":"Hi, thanks for picking this up so quickly!\r\n\r\nI have on minor request though, I'd prefer this to also be a value of drawPoints. What I mean is this:\r\n\r\n```\r\ndrawPoints: true\r\ndrawPoints: false\r\ndrawPoints: {enabled. .....}\r\ndrawPoints: function() ...\r\n```\r\n\r\nWhen supplied, the function would automatically be placed in the onRender property. What do you think?\r\n\r\nRegards"}}