{"action":"created","issue":{"url":"https://api.github.com/repos/weaveworks/scope/issues/379","labels_url":"https://api.github.com/repos/weaveworks/scope/issues/379/labels{/name}","comments_url":"https://api.github.com/repos/weaveworks/scope/issues/379/comments","events_url":"https://api.github.com/repos/weaveworks/scope/issues/379/events","html_url":"https://github.com/weaveworks/scope/pull/379","id":101956312,"number":379,"title":"[WIP] Stop the rendered graph from dancing.","user":{"login":"tomwilkie","id":444037,"avatar_url":"https://avatars.githubusercontent.com/u/444037?v=3","gravatar_id":"","url":"https://api.github.com/users/tomwilkie","html_url":"https://github.com/tomwilkie","followers_url":"https://api.github.com/users/tomwilkie/followers","following_url":"https://api.github.com/users/tomwilkie/following{/other_user}","gists_url":"https://api.github.com/users/tomwilkie/gists{/gist_id}","starred_url":"https://api.github.com/users/tomwilkie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomwilkie/subscriptions","organizations_url":"https://api.github.com/users/tomwilkie/orgs","repos_url":"https://api.github.com/users/tomwilkie/repos","events_url":"https://api.github.com/users/tomwilkie/events{/privacy}","received_events_url":"https://api.github.com/users/tomwilkie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"davkal","id":859729,"avatar_url":"https://avatars.githubusercontent.com/u/859729?v=3","gravatar_id":"","url":"https://api.github.com/users/davkal","html_url":"https://github.com/davkal","followers_url":"https://api.github.com/users/davkal/followers","following_url":"https://api.github.com/users/davkal/following{/other_user}","gists_url":"https://api.github.com/users/davkal/gists{/gist_id}","starred_url":"https://api.github.com/users/davkal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davkal/subscriptions","organizations_url":"https://api.github.com/users/davkal/orgs","repos_url":"https://api.github.com/users/davkal/repos","events_url":"https://api.github.com/users/davkal/events{/privacy}","received_events_url":"https://api.github.com/users/davkal/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-08-19T17:43:33Z","updated_at":"2015-08-20T10:22:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/weaveworks/scope/pulls/379","html_url":"https://github.com/weaveworks/scope/pull/379","diff_url":"https://github.com/weaveworks/scope/pull/379.diff","patch_url":"https://github.com/weaveworks/scope/pull/379.patch"},"body":"I'm not sure this actually works, but I wanted to try it out.\r\n\r\nThe idea is that instead of doing a fresh layout every time we get a graph update, we cache the layout from last time and mutate that.\r\n\r\nSome basic testing implies this works, but I'll try harder to break it tomorrow.\r\n\r\nLet me know what you think, @davkal!"},"comment":{"url":"https://api.github.com/repos/weaveworks/scope/issues/comments/132966365","html_url":"https://github.com/weaveworks/scope/pull/379#issuecomment-132966365","issue_url":"https://api.github.com/repos/weaveworks/scope/issues/379","id":132966365,"user":{"login":"davkal","id":859729,"avatar_url":"https://avatars.githubusercontent.com/u/859729?v=3","gravatar_id":"","url":"https://api.github.com/users/davkal","html_url":"https://github.com/davkal","followers_url":"https://api.github.com/users/davkal/followers","following_url":"https://api.github.com/users/davkal/following{/other_user}","gists_url":"https://api.github.com/users/davkal/gists{/gist_id}","starred_url":"https://api.github.com/users/davkal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davkal/subscriptions","organizations_url":"https://api.github.com/users/davkal/orgs","repos_url":"https://api.github.com/users/davkal/repos","events_url":"https://api.github.com/users/davkal/events{/privacy}","received_events_url":"https://api.github.com/users/davkal/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T10:22:17Z","updated_at":"2015-08-20T10:22:17Z","body":"There was some provision for reusing old locations [in the code](https://github.com/weaveworks/scope/blob/95448e73ae0ea0dea0aec4a8e01be9ea94e3e875/client/app/scripts/charts/nodes-chart.js#L134) but that never informed the layout engine. So yeah, looks promising!\r\n"}}