{"action":"created","issue":{"url":"https://api.github.com/repos/almende/vis/issues/1406","labels_url":"https://api.github.com/repos/almende/vis/issues/1406/labels{/name}","comments_url":"https://api.github.com/repos/almende/vis/issues/1406/comments","events_url":"https://api.github.com/repos/almende/vis/issues/1406/events","html_url":"https://github.com/almende/vis/issues/1406","id":114637911,"number":1406,"title":"editEdgeMode not always triggering the 'red draggable dots' on both edge ends - redraw fixes","user":{"login":"DoubleTK","id":1087500,"avatar_url":"https://avatars.githubusercontent.com/u/1087500?v=3","gravatar_id":"","url":"https://api.github.com/users/DoubleTK","html_url":"https://github.com/DoubleTK","followers_url":"https://api.github.com/users/DoubleTK/followers","following_url":"https://api.github.com/users/DoubleTK/following{/other_user}","gists_url":"https://api.github.com/users/DoubleTK/gists{/gist_id}","starred_url":"https://api.github.com/users/DoubleTK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoubleTK/subscriptions","organizations_url":"https://api.github.com/users/DoubleTK/orgs","repos_url":"https://api.github.com/users/DoubleTK/repos","events_url":"https://api.github.com/users/DoubleTK/events{/privacy}","received_events_url":"https://api.github.com/users/DoubleTK/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-02T17:01:28Z","updated_at":"2015-11-02T20:45:57Z","closed_at":null,"body":"Hi,\r\nFirst I'd like to say thank you for the excellent library you have put together. It's been very useful.\r\n\r\nI am working exclusively with the Network module, and I have run into an issue with the editEdgeMode functionality. Normally, when you click the 'Edit Edge' button, the canvas redraws with two red dots - one at each end of the edge - that you can drag between nodes. After you have dragged one of those dots (and if you have set up a callback function for options.manipulation.editEdge) the callback function is called with the relevant info.\r\n\r\nUnfortunately, I have run into a problem where the two red dots do not appear. I have the manipulation options enabled, but clicking on editEdge does not display the two red dots. Everything else is displayed correctly (like the toolbar changing to the 'back' button), but the dots do not appear. However, any sort of manual redraw will fix this. If I click a button that redraws the network, the dots appear. If I zoom in or out, the dots appear. If I move the graph view, the dots appear. It seems like the editEdge function is not calling redraw all the time, but I checked and it does seem to be getting fired each time. I'm not sure what else may be causing this. \r\n\r\nAny help would be greatly appreciated.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/almende/vis/issues/comments/153151364","html_url":"https://github.com/almende/vis/issues/1406#issuecomment-153151364","issue_url":"https://api.github.com/repos/almende/vis/issues/1406","id":153151364,"user":{"login":"DoubleTK","id":1087500,"avatar_url":"https://avatars.githubusercontent.com/u/1087500?v=3","gravatar_id":"","url":"https://api.github.com/users/DoubleTK","html_url":"https://github.com/DoubleTK","followers_url":"https://api.github.com/users/DoubleTK/followers","following_url":"https://api.github.com/users/DoubleTK/following{/other_user}","gists_url":"https://api.github.com/users/DoubleTK/gists{/gist_id}","starred_url":"https://api.github.com/users/DoubleTK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DoubleTK/subscriptions","organizations_url":"https://api.github.com/users/DoubleTK/orgs","repos_url":"https://api.github.com/users/DoubleTK/repos","events_url":"https://api.github.com/users/DoubleTK/events{/privacy}","received_events_url":"https://api.github.com/users/DoubleTK/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T20:45:57Z","updated_at":"2015-11-02T20:45:57Z","body":"I should clarify. It doesn't happen with complete consistency (I have yet to pinpoint the exact cause). Just keep clicking on an edge and selecting edit. Eventually, you will see the red dots do not appear. Seems to happen most often with the edges in the bottom right, although I have duplicated with every edge at some point."}}