{"action":"opened","issue":{"url":"https://api.github.com/repos/mstefaniuk/graph-viz-d3-js/issues/22","repository_url":"https://api.github.com/repos/mstefaniuk/graph-viz-d3-js","labels_url":"https://api.github.com/repos/mstefaniuk/graph-viz-d3-js/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/mstefaniuk/graph-viz-d3-js/issues/22/comments","events_url":"https://api.github.com/repos/mstefaniuk/graph-viz-d3-js/issues/22/events","html_url":"https://github.com/mstefaniuk/graph-viz-d3-js/issues/22","id":172933409,"number":22,"title":"renderer callback/promise","user":{"login":"dmattsson","id":8665566,"avatar_url":"https://avatars.githubusercontent.com/u/8665566?v=3","gravatar_id":"","url":"https://api.github.com/users/dmattsson","html_url":"https://github.com/dmattsson","followers_url":"https://api.github.com/users/dmattsson/followers","following_url":"https://api.github.com/users/dmattsson/following{/other_user}","gists_url":"https://api.github.com/users/dmattsson/gists{/gist_id}","starred_url":"https://api.github.com/users/dmattsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmattsson/subscriptions","organizations_url":"https://api.github.com/users/dmattsson/orgs","repos_url":"https://api.github.com/users/dmattsson/repos","events_url":"https://api.github.com/users/dmattsson/events{/privacy}","received_events_url":"https://api.github.com/users/dmattsson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-24T12:01:33Z","updated_at":"2016-08-24T12:01:33Z","closed_at":null,"body":"First, thanks for this awesome project - it's exactly what I was looking for\r\n\r\nI'm having troubles understanding how to execute a function after a chart has been rendered. I've been trying callbacks (e.g. below) and promises, but it doesn't seem to work.\r\n\r\n`renderer.render(dotSource, function (err, resp) {\r\n    if(!err) {\r\n      postRender();\r\n   }\r\n  });`"}}
{"actor":{"display_login":"dmattsson"}}