{"action":"created","issue":{"url":"https://api.github.com/repos/almende/vis/issues/1203","labels_url":"https://api.github.com/repos/almende/vis/issues/1203/labels{/name}","comments_url":"https://api.github.com/repos/almende/vis/issues/1203/comments","events_url":"https://api.github.com/repos/almende/vis/issues/1203/events","html_url":"https://github.com/almende/vis/issues/1203","id":102128696,"number":1203,"title":"X and Y coordinates on hoverNode event","user":{"login":"devgitk","id":12658481,"avatar_url":"https://avatars.githubusercontent.com/u/12658481?v=3","gravatar_id":"","url":"https://api.github.com/users/devgitk","html_url":"https://github.com/devgitk","followers_url":"https://api.github.com/users/devgitk/followers","following_url":"https://api.github.com/users/devgitk/following{/other_user}","gists_url":"https://api.github.com/users/devgitk/gists{/gist_id}","starred_url":"https://api.github.com/users/devgitk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devgitk/subscriptions","organizations_url":"https://api.github.com/users/devgitk/orgs","repos_url":"https://api.github.com/users/devgitk/repos","events_url":"https://api.github.com/users/devgitk/events{/privacy}","received_events_url":"https://api.github.com/users/devgitk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/almende/vis/labels/Network","name":"Network","color":"009800"},{"url":"https://api.github.com/repos/almende/vis/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-20T12:36:15Z","updated_at":"2015-08-20T13:07:42Z","closed_at":null,"body":"Hi,\r\n\r\nAny idea as to how I would be able to get the X and Y coordinates of the node on hover?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/almende/vis/issues/comments/133002445","html_url":"https://github.com/almende/vis/issues/1203#issuecomment-133002445","issue_url":"https://api.github.com/repos/almende/vis/issues/1203","id":133002445,"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-08-20T13:07:42Z","updated_at":"2015-08-20T13:07:42Z","body":"Hi,\r\n\r\nLet's go look at the documentation:\r\nhttp://visjs.org/docs/network/#methods\r\n\r\nIt would be something along the lines of \"get a position\" and then you'll have to transform the canvas coordinates to the DOM space, maybe something like canvasToDOM.\r\n\r\nNow there are events for hover, like http://visjs.org/docs/network/#Events\r\n\r\nPlease refer to the documentation for more information.\r\n\r\nRegards"}}