{"action":"created","issue":{"url":"https://api.github.com/repos/nengo/nengo_viz/issues/242","labels_url":"https://api.github.com/repos/nengo/nengo_viz/issues/242/labels{/name}","comments_url":"https://api.github.com/repos/nengo/nengo_viz/issues/242/comments","events_url":"https://api.github.com/repos/nengo/nengo_viz/issues/242/events","html_url":"https://github.com/nengo/nengo_viz/pull/242","id":82995092,"number":242,"title":"WIP: Minimap","user":{"login":"studywolf","id":2473097,"avatar_url":"https://avatars.githubusercontent.com/u/2473097?v=3","gravatar_id":"","url":"https://api.github.com/users/studywolf","html_url":"https://github.com/studywolf","followers_url":"https://api.github.com/users/studywolf/followers","following_url":"https://api.github.com/users/studywolf/following{/other_user}","gists_url":"https://api.github.com/users/studywolf/gists{/gist_id}","starred_url":"https://api.github.com/users/studywolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/studywolf/subscriptions","organizations_url":"https://api.github.com/users/studywolf/orgs","repos_url":"https://api.github.com/users/studywolf/repos","events_url":"https://api.github.com/users/studywolf/events{/privacy}","received_events_url":"https://api.github.com/users/studywolf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-05-31T04:19:32Z","updated_at":"2015-06-01T19:03:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nengo/nengo_viz/pulls/242","html_url":"https://github.com/nengo/nengo_viz/pull/242","diff_url":"https://github.com/nengo/nengo_viz/pull/242.diff","patch_url":"https://github.com/nengo/nengo_viz/pull/242.patch"},"body":"All the code online seemed intentionally obfuscated, so I've been messing around not using any other libraries. So this is a homebrew minimap that just displays the whole model. It's pretty hacky at the moment but I thought it would be worthwhile to get some feedback on it just to see if people would be interested having something along these lines at all. \r\n\r\nIt shows items, networks, and connections, but not any graphs at the moment (also was thinking it would probably be best to just have a placeholder for graphs if they're shown at all). It's just displayed always at the moment but it might make sense to have it only pop up if the whole model isn't on the main screen, and to possibly add a ctrl+M to get it to pop up or something. Would be nice to also be able to resize it and maybe drag it around to place it wherever you want it. Also this map isn't interactive at all, it's just for lookin'. \r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/nengo/nengo_viz/issues/comments/107672556","html_url":"https://github.com/nengo/nengo_viz/pull/242#issuecomment-107672556","issue_url":"https://api.github.com/repos/nengo/nengo_viz/issues/242","id":107672556,"user":{"login":"bjkomer","id":1361151,"avatar_url":"https://avatars.githubusercontent.com/u/1361151?v=3","gravatar_id":"","url":"https://api.github.com/users/bjkomer","html_url":"https://github.com/bjkomer","followers_url":"https://api.github.com/users/bjkomer/followers","following_url":"https://api.github.com/users/bjkomer/following{/other_user}","gists_url":"https://api.github.com/users/bjkomer/gists{/gist_id}","starred_url":"https://api.github.com/users/bjkomer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjkomer/subscriptions","organizations_url":"https://api.github.com/users/bjkomer/orgs","repos_url":"https://api.github.com/users/bjkomer/repos","events_url":"https://api.github.com/users/bjkomer/events{/privacy}","received_events_url":"https://api.github.com/users/bjkomer/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T19:03:56Z","updated_at":"2015-06-01T19:03:56Z","body":"Looks nice, the viewbox works really well for me!\r\n\r\nThe auto-layout bug still exists though. It seems to set the minimap's reference point to whatever area you were looking at when you clicked auto-layout. For example, if you pan so that the network is off screen, and hit auto-layout, the minimap disappears. As soon as you move any components it fixes itself, so there is probably just one update call missing somewhere."}}